Remove DUB warnings regarding build options

The appropriate build types need to be called in addition to build configs
This commit is contained in:
Mike Bierlee 2014-10-05 13:44:23 +02:00
parent e19564e3cf
commit c3acabd9f2
2 changed files with 27 additions and 41 deletions

View file

@ -1,42 +1,24 @@
{ {
"name" : "poodinis", "name" : "poodinis",
"description" : "A dependency injection framework with support for autowiring.", "description" : "A dependency injection framework with support for autowiring.",
"homepage": "http://lostmoment.com/open-source/poodinis", "homepage": "http://lostmoment.com/open-source/poodinis",
"authors": ["Mike Bierlee"], "authors": ["Mike Bierlee"],
"copyright": "Copyright 2014 Mike Bierlee", "copyright": "Copyright 2014 Mike Bierlee",
"license": "MIT", "license": "MIT",
"configurations": [ "configurations": [
{ {
"name": "release-build", "name": "build",
"targetType": "library", "targetType": "library"
"buildOptions": [ },
"releaseMode", {
"optimize", "name": "unittest",
"inline" "targetType": "executable",
] "sourcePaths": [
}, "test"
{ ],
"name": "debug-build", "dflags-dmd": [
"targetType": "library", "-main"
"buildOptions": [ ]
"debugMode", }
"debugInfo" ]
]
},
{
"name": "unittest",
"targetType": "executable",
"buildOptions": [
"debugMode",
"debugInfo",
"unittests"
],
"sourcePaths": [
"test"
],
"dflags-dmd": [
"-main"
]
}
]
} }

4
dub.selections.json Normal file
View file

@ -0,0 +1,4 @@
{
"fileVersion": 1,
"versions": {}
}