-
Notifications
You must be signed in to change notification settings - Fork 0
/
dub.sdl
110 lines (94 loc) · 2.46 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
name "dialect"
description "IRC parsing library"
authors "JR"
copyright "Copyright © 2016+, JR"
homepage "https://www.github.com/zorael/dialect"
license "BSL-1.0"
targetType "library"
dflags "-preview=dip1000" "-preview=dip1008"
dflags "-preview=fieldwise" "-preview=fixAliasThis"
dflags "-preview=in" "-preview=inclusiveincontracts"
dflags "-preview=fixImmutableConv" #"-preview=nosharedaccess"
dflags "-linkonce-templates" "-disable-verify" platform="ldc"
#dflags "-ftime-trace" "-ftime-trace-file=trace.json" platform="ldc"
#postBuildCommands "tracy-import-chrome ./trace.json ./trace.tracy" platform="ldc"
subPackage {
name "assertgen"
description "Tool for generating asserts for unittest blocks"
targetType "executable"
targetName "assertgen"
dependency "lu" version="~>3.0.0"
sourcePaths "source"
importPaths "source"
mainSourceFile "source/dialect/assertgen.d"
versions \
"BotElements" \
"Postprocessors" \
"FlagAsUpdated" \
"TwitchSupport" \
"TwitchWarnings" \
"PrintStacktraces" \
"AssertGeneration"
}
dependency "lu" version="~>3.0.0"
sourcePaths "source"
importPaths "source"
versions "FlagAsUpdated"
/**
library: Base configuration without bot elements
*/
configuration "library" {
excludedSourceFiles "source/dialect/assertgen.d"
}
/**
bot: With bot elements
*/
configuration "bot" {
excludedSourceFiles "source/dialect/assertgen.d"
versions \
"BotElements"
}
/**
twitch: With Twitch support but no bot elements
*/
configuration "twitch" {
excludedSourceFiles "source/dialect/assertgen.d"
versions \
"Postprocessors" \
"TwitchSupport"
}
/**
twitch: With bot elements and Twitch support
*/
configuration "twitchbot" {
excludedSourceFiles "source/dialect/assertgen.d"
versions \
"BotElements" \
"Postprocessors" \
"TwitchSupport"
}
/**
dev: Developer build with more warnings
*/
configuration "dev" {
excludedSourceFiles "source/dialect/assertgen.d"
versions \
"BotElements" \
"Postprocessors" \
"TwitchSupport" \
"TwitchWarnings"
}
/**
unittest: Unittest build testing everything
*/
configuration "unittest" {
sourcePaths "source" "tests"
importPaths "source" "tests"
versions \
"BotElements" \
"Postprocessors" \
"TwitchSupport" \
"TwitchWarnings" \
"PrintStacktraces" \
"AssertGeneration"
}