mirage-config/dub.json
2022-10-09 00:02:25 +03:00

64 lines
2.2 KiB
JSON

{
"name": "mirage-config",
"description": "Configuration utilities supporting formats such as JSON",
"copyright": "Copyright © 2022, Mike Bierlee",
"authors": ["Mike Bierlee"],
"license": "MIT",
"configurations": [
{
"name": "library",
"targetType": "library"
},
{
"name": "unittest",
"targetType": "executable",
"sourcePaths": ["source"],
"mainSourceFile": "source/mirage/testmain.d"
},
{
"name": "jsonExample",
"targetType": "executable",
"description": "Example on how to read and work with JSON configurations.",
"targetName": "jsonExample",
"sourcePaths": ["examples/json"],
"importPaths": ["source"],
"copyFiles": ["examples/json/config.json"],
"targetPath": "bin/examples/json",
"workingDirectory": "bin/examples/json"
},
{
"name": "javaPropertiesExample",
"targetType": "executable",
"description": "Example on how to read and work with Java properties.",
"targetName": "javaPropertiesExample",
"sourcePaths": ["examples/javaProperties"],
"importPaths": ["source"],
"copyFiles": ["examples/javaProperties/application.properties"],
"targetPath": "bin/examples/javaProperties",
"workingDirectory": "bin/examples/javaProperties"
},
{
"name": "valueSubstitutionExample",
"targetType": "executable",
"description": "Example on how to use environment and config substitution.",
"targetName": "valueSubstitutionExample",
"sourcePaths": ["examples/valueSubstitution"],
"importPaths": ["source"],
"copyFiles": ["examples/valueSubstitution/config.json"],
"targetPath": "bin/examples/valueSubstitution",
"workingDirectory": "bin/examples/valueSubstitution"
},
{
"name": "manipulationExample",
"targetType": "executable",
"description": "Example on how to change configuration.",
"targetName": "manipulationExample",
"sourcePaths": ["examples/manipulation"],
"importPaths": ["source"],
"copyFiles": ["examples/manipulation/config.json"],
"targetPath": "bin/examples/manipulation",
"workingDirectory": "bin/examples/manipulation"
}
]
}