51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "dcd",
|
|
"description": "The D Completion Daemon is an auto-complete program for the D programming language",
|
|
"copyright": "Copyright © 2015-2017, Brian Schott",
|
|
"authors": [
|
|
"Brian Schott"
|
|
],
|
|
"license": "GPL-3.0",
|
|
"dependencies": {
|
|
"dsymbol": "~>0.3.10",
|
|
"libdparse": "~>0.8.7",
|
|
"msgpack-d": "~>1.0.0-beta.3",
|
|
"stdx-allocator": "~>2.77.2"
|
|
},
|
|
"stringImportPaths" : [
|
|
"bin"
|
|
],
|
|
"versions": ["built_with_dub"],
|
|
"configurations": [
|
|
{
|
|
"name": "library",
|
|
"targetType": "library",
|
|
"excludedSourceFiles": [
|
|
"src/dcd/client/*",
|
|
"src/dcd/server/main.d"
|
|
]
|
|
},
|
|
{
|
|
"name": "client",
|
|
"targetType": "executable",
|
|
"targetPath": "bin/",
|
|
"targetName": "dcd-client",
|
|
"excludedSourceFiles": [
|
|
"src/dcd/server/*"
|
|
]
|
|
},
|
|
{
|
|
"name": "server",
|
|
"targetType": "executable",
|
|
"targetPath": "bin/",
|
|
"targetName": "dcd-server",
|
|
"excludedSourceFiles": [
|
|
"src/dcd/client/*"
|
|
]
|
|
}
|
|
],
|
|
"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\\\"));\""
|
|
]
|
|
}
|