-
Notifications
You must be signed in to change notification settings - Fork 4
/
dub.json
31 lines (29 loc) · 872 Bytes
/
dub.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "gen-package-version",
"description": "Generate a D module with version information automatically-detected from git/hg.",
"authors": ["Nick Sabalausky"],
"homepage": "https://github.com/Abscissa/gen-package-version",
"license": "zlib/libpng",
"targetPath": "bin",
"targetName": "gen-package-version",
"sourcePaths": ["src"],
"dependencies": {
"scriptlike": "~>0.10.3"
},
"preGenerateCommands-posix":
["cd $PACKAGE_DIR && rdmd helper/bootstrap.d $SCRIPTLIKE_PACKAGE_DIR"],
"preGenerateCommands-windows":
["cd /D $PACKAGE_DIR && rdmd helper/bootstrap.d $SCRIPTLIKE_PACKAGE_DIR"],
"configurations": [
{
"name": "application",
"targetType": "executable",
"mainSourceFile": "src/genPackageVersion/main.d"
},
{
"name": "library",
"targetType": "library",
"excludedSourceFiles": ["src/genPackageVersion/main.d"]
}
]
}