forked from ruchee/vimrc
/
dub.sdl
executable file
·37 lines (31 loc) · 941 Bytes
/
dub.sdl
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
name "test-some-name"
description "Demo syntax highlight of DUB configuration"
copyright "Copyright © 2015, Joakim Brännström"
authors "Joakim Brännström"
license "BSL"
dependency "tested" version="~>0.9.4"
dependency "docopt" version="~>0.6.1-b.3"
dependency "dsrcgen" path="dsrcgen"
targetPath "build"
mainSourceFile "source/app.d"
sourcePaths "source" "clang"
importPaths "source" "clang"
stringImportPaths "clang/resources"
excludedSourceFiles "source/wip_main.d" "source/analyze"
lflags "-lclang" "-rpath" "." "-L." "$LFLAGS"
buildRequirements {
"requireBoundsCheck"
"requireContracts"
}
buildType "unittest-cov" {
buildOptions "unittests" "debugMode" "debugInfo" "coverage"
}
configuration "release" {
targetType "executable"
excludedSourceFiles "source/wip_main.d" "source/generator/analyze"
}
configuration "unittest" {
targetName "unittest"
targetType "executable"
buildType "debugInfo"
}