-
Notifications
You must be signed in to change notification settings - Fork 1
/
dub.sdl
35 lines (30 loc) · 1.08 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
name "code_checker"
description "Tool to check the quality of code for a review/inspection/PR"
authors "Joakim Brännström"
copyright "Copyright © 2018, Joakim Brännström"
license "BSL-1.0"
targetPath "build"
dependency "colorlog" version="~>0.0.10" default=true
dependency "toml" version="~>1.0.0-rc.3" default=true
dependency "unit-threaded" version="~>2.1.9" default=true
dependency "mylib" version="~>0.0.41" default=true
dependency "compile_db" version="~>0.0.5" default=true
dependency "miniorm" version="~>0.0.10" default=true
configuration "application" {
targetType "executable"
}
configuration "unittest" {
targetType "executable"
targetName "code_checker_ut"
dependency "code_checker:unit-threaded" version="*" optional=true
mainSourceFile "build/ut.d"
preBuildCommands "./update_ut.d build/ut.d"
excludedSourceFiles "source/app.d"
}
// redirect testing which is primarily integration testing
configuration "integration_test" {
targetType "executable"
targetName "integration_test"
excludedSourceFiles "source/*"
sourceFiles "test/redirect.d"
}