D-Scanner/dub.json

30 lines
1.0 KiB
JSON

{
"name" : "dscanner",
"description" : "Swiss-army knife for D source code",
"copyright" : "© Brian Schott",
"authors" : [
"Brian Schott"
],
"license" : "Boost Software License - Version 1.0",
"targetType" : "autodetect",
"versions" : [
"built_with_dub",
"StdLoggerDisableWarning"
],
"dependencies" : {
"libdparse" : "~>0.8.7",
"dsymbol" : "~>0.3.10",
"inifiled" : "~>1.3.1",
"emsi_containers" : "~>0.8.0-alpha.7",
"libddoc" : "~>0.3.0-beta.1",
"stdx-allocator" : "~>2.77.2"
},
"targetPath" : "bin",
"stringImportPaths" : [
"bin"
],
"preGenerateCommands" : [
"rdmd --eval=\"auto dir=environment.get(\\\"DUB_PACKAGE_DIR\\\"); dir.buildPath(\\\"bin\\\").mkdirRecurse; auto gitVer = (\\\"git -C \\\"~dir~\\\" describe --tags\\\").executeShell; (gitVer.status == 0 ? gitVer.output.strip : \\\"v\\\" ~ dir.dirName.baseName.findSplitAfter(environment.get(\\\"DUB_ROOT_PACKAGE\\\")~\\\"-\\\")[1]).ifThrown(\\\"0.0.0\\\").chain(newline).toFile(dir.buildPath(\\\"bin\\\", \\\"dubhash.txt\\\"));\""
]
}