2022-09-23 22:34:22 +02:00
|
|
|
{
|
2022-09-24 15:58:49 +02:00
|
|
|
"name": "mirage-config",
|
2022-10-13 01:19:59 +02:00
|
|
|
"description": "Configuration toolkit supporting JSON, INI and Java Properties",
|
2022-09-23 22:34:22 +02:00
|
|
|
"copyright": "Copyright © 2022, Mike Bierlee",
|
|
|
|
"authors": ["Mike Bierlee"],
|
|
|
|
"license": "MIT",
|
2022-10-09 00:06:52 +02:00
|
|
|
"-ddoxTool": "scod",
|
2022-09-25 18:03:26 +02:00
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "library",
|
|
|
|
"targetType": "library"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unittest",
|
|
|
|
"targetType": "executable",
|
2022-09-28 22:31:52 +02:00
|
|
|
"sourcePaths": ["source"],
|
|
|
|
"mainSourceFile": "source/mirage/testmain.d"
|
2022-09-25 18:03:26 +02:00
|
|
|
},
|
2022-10-08 23:42:15 +02:00
|
|
|
{
|
|
|
|
"name": "quickstartExample",
|
|
|
|
"targetType": "executable",
|
|
|
|
"description": "Minimal example on how to get started.",
|
|
|
|
"targetName": "quickstartExample",
|
|
|
|
"sourcePaths": ["examples/quickstart"],
|
|
|
|
"importPaths": ["source"],
|
|
|
|
"copyFiles": ["examples/quickstart/config.json"],
|
|
|
|
"targetPath": "bin/examples/quickstart",
|
|
|
|
"workingDirectory": "bin/examples/quickstart"
|
|
|
|
},
|
2022-09-25 18:03:26 +02:00
|
|
|
{
|
|
|
|
"name": "jsonExample",
|
|
|
|
"targetType": "executable",
|
2022-10-06 23:55:31 +02:00
|
|
|
"description": "Example on how to read and work with JSON configurations.",
|
2022-09-25 18:03:26 +02:00
|
|
|
"targetName": "jsonExample",
|
|
|
|
"sourcePaths": ["examples/json"],
|
|
|
|
"importPaths": ["source"],
|
|
|
|
"copyFiles": ["examples/json/config.json"],
|
|
|
|
"targetPath": "bin/examples/json",
|
|
|
|
"workingDirectory": "bin/examples/json"
|
2022-09-28 23:13:20 +02:00
|
|
|
},
|
2022-10-08 23:02:25 +02:00
|
|
|
{
|
|
|
|
"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"
|
|
|
|
},
|
2022-10-13 19:09:14 +02:00
|
|
|
{
|
|
|
|
"name": "iniExample",
|
|
|
|
"targetType": "executable",
|
|
|
|
"description": "Example on how to read and work with INI files.",
|
|
|
|
"targetName": "iniExample",
|
|
|
|
"sourcePaths": ["examples/ini"],
|
|
|
|
"importPaths": ["source"],
|
|
|
|
"copyFiles": ["examples/ini/config.ini"],
|
|
|
|
"targetPath": "bin/examples/ini",
|
|
|
|
"workingDirectory": "bin/examples/ini"
|
|
|
|
},
|
2022-09-28 23:13:20 +02:00
|
|
|
{
|
|
|
|
"name": "valueSubstitutionExample",
|
|
|
|
"targetType": "executable",
|
2022-10-06 23:55:31 +02:00
|
|
|
"description": "Example on how to use environment and config substitution.",
|
2022-09-28 23:13:20 +02:00
|
|
|
"targetName": "valueSubstitutionExample",
|
|
|
|
"sourcePaths": ["examples/valueSubstitution"],
|
|
|
|
"importPaths": ["source"],
|
|
|
|
"copyFiles": ["examples/valueSubstitution/config.json"],
|
|
|
|
"targetPath": "bin/examples/valueSubstitution",
|
|
|
|
"workingDirectory": "bin/examples/valueSubstitution"
|
2022-10-06 23:55:31 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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"
|
2022-09-25 18:03:26 +02:00
|
|
|
}
|
|
|
|
]
|
2022-09-23 22:34:22 +02:00
|
|
|
}
|