Change dflags to be compiler-agnostic

This commit is contained in:
Mike Bierlee 2015-03-09 00:07:40 +01:00
parent 077ed39b9a
commit d1e3366549

118
dub.json
View file

@ -1,59 +1,59 @@
{ {
"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": "build", "name": "build",
"targetType": "library" "targetType": "library"
}, },
{ {
"name": "unittest", "name": "unittest",
"targetType": "executable", "targetType": "executable",
"sourcePaths": [ "sourcePaths": [
"test" "test"
], ],
"dflags-dmd": [ "dflags": [
"-main" "-main"
] ]
}, },
{ {
"name": "unittestVerbose", "name": "unittestVerbose",
"targetType": "executable", "targetType": "executable",
"debugVersions": ["poodinisVerbose"], "debugVersions": ["poodinisVerbose"],
"sourcePaths": [ "sourcePaths": [
"test" "test"
], ],
"dflags-dmd": [ "dflags-dmd": [
"-main" "-main"
] ]
}, },
{ {
"name" : "quickstartExample", "name" : "quickstartExample",
"description" : "Quickstart example from the Poodinis readme.", "description" : "Quickstart example from the Poodinis readme.",
"targetType": "executable", "targetType": "executable",
"targetName": "quickstartExample", "targetName": "quickstartExample",
"sourcePaths": [ "sourcePaths": [
"example/quickstart" "example/quickstart"
], ],
"importPaths": [ "importPaths": [
"source" "source"
] ]
}, },
{ {
"name" : "qualifiersExample", "name" : "qualifiersExample",
"description" : "Quickstart example where qualifiers are used.", "description" : "Quickstart example where qualifiers are used.",
"targetType": "executable", "targetType": "executable",
"targetName": "qualifiersExample", "targetName": "qualifiersExample",
"sourcePaths": [ "sourcePaths": [
"example/qualifiers" "example/qualifiers"
], ],
"importPaths": [ "importPaths": [
"source" "source"
] ]
} }
] ]
} }