-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdub.json
45 lines (38 loc) · 1.2 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"name": "dvm",
"description": "A tool for installing and managing D compilers",
"authors": ["Jacob Carlborg"],
"homepage": "https://github.com/jacob-carlborg/dvm",
"license": "BSL-1.0",
"copyright": "Copyright (c) 2010-2015 Jacob Carlborg. All rights reserved.",
"mainSourceFile": "dvm/dvm/dvm.d",
"targetType": "executable",
"targetName": "dvm",
"targetPath": "bin",
"sourcePaths": ["dvm"],
"importPaths": ["dvm"],
"stringImportPaths": ["resources", "tmp"],
"excludedSourceFiles-posix": [
"dvm/util/DvmRegistry.d",
"dvm/util/Registry.d",
"dvm/util/Windows.d"
],
"buildRequirements": ["silenceWarnings", "silenceDeprecations"],
"dependencies": {
"tango": "1.0.6"
},
"preGenerateCommands-posix": [
"$$DC -run $PACKAGE_DIR/tools/generate_version.d"
],
"preGenerateCommands-windows": [
"%DC% -run $PACKAGE_DIR/tools/generate_version.d"
],
"buildTypes": {
"release": {
"buildOptions": ["optimize", "inline"],
"dflags-posix-ldc": ["-flto=full"],
"lflags-linux-ldc": ["-static"],
"lflags-osx-ldc": ["-dead_strip"]
}
}
}