From f9257293164f7681243e35b9608a4cb6c2d3e16b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 6 Nov 2017 09:12:06 -0500 Subject: checks --- dub.sdl | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 56 insertions(+), 9 deletions(-) (limited to 'dub.sdl') diff --git a/dub.sdl b/dub.sdl index b94959f..67c26d8 100644 --- a/dub.sdl +++ b/dub.sdl @@ -8,10 +8,10 @@ targetPath "./bin" #sourcePath "./src/sdp" stringImportPaths "./views" buildRequirements "allowWarnings" -dependency "sdlang-d" version="~>0.10.1" -dependency "d2sqlite3" version="~>0.13.1" # https://code.dlang.org/packages/d2sqlite3 http://biozic.github.io/d2sqlite3/d2sqlite3.html +dependency "sdlang-d" version="~>0.10.1" +dependency "d2sqlite3" version="~>0.13.1" # https://code.dlang.org/packages/d2sqlite3 http://biozic.github.io/d2sqlite3/d2sqlite3.html subconfiguration "d2sqlite3" "all-included" -dependency "archive" version="~>0.6.0" +dependency "archive" version="~>0.6.0" # http://code.dlang.org/packages/archive https://github.com/rcythr/archive configuration "sdp-release" { name "release" targetType "executable" @@ -34,6 +34,22 @@ configuration "sdp-debug" { debugVersions "dumpdoc" postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug'" } +configuration "sdp-tmp" { + name "tmp" + targetType "executable" + platforms "posix" + targetName "sdp-tmp" + dflags "-J=views" "-I=src/sdp" + #lflags "ld.gold" + buildRequirements "allowWarnings" + buildOptions "verbose" "debugMode" "debugInfo" "optimize" + debugVersions "checkdoc" "summary" + debugVersions "tmp" + debugVersions "crap" + debugVersions "header" + debugVersions "header1" + postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-tmp'" +} configuration "sdp-debug-clean" { name "debug-clean" targetType "executable" @@ -50,7 +66,7 @@ configuration "sdp-dmd" { targetName "sdp-dmd" dflags "-J=views" "-I=src/sdp" buildRequirements "allowWarnings" - buildOptions "verbose" "releaseMode" "optimize" "inline" + buildOptions "verbose" "optimize" "inline" # "releaseMode" postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-dmd'" } configuration "sdp-dmd-version" { @@ -60,7 +76,17 @@ configuration "sdp-dmd-version" { targetName "sdp-dmd-ver" dflags "-J=views" "-I=src/sdp" buildRequirements "allowWarnings" - buildOptions "verbose" "releaseMode" "optimize" "inline" + buildOptions "verbose" "optimize" "inline" # "releaseMode" +} +configuration "sdp-dmd-release" { + name "dmd" + targetType "executable" + platforms "posix" + targetName "sdp-dmd" + dflags "-J=views" "-I=src/sdp" + buildRequirements "allowWarnings" + buildOptions "verbose" "optimize" "inline" "releaseMode" + postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-dmd'" } configuration "sdp-dmd-debug" { name "debuging" @@ -117,7 +143,7 @@ configuration "sdp-ldc" { targetName "sdp-ldc" dflags "-O2" "-J=views" "-I=src/sdp" buildRequirements "allowWarnings" - buildOptions "verbose" "releaseMode" "optimize" "inline" + buildOptions "verbose" "optimize" "inline" # "releaseMode" postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'sdp-ldc'" } configuration "sdp-ldc-version" { @@ -127,7 +153,17 @@ configuration "sdp-ldc-version" { targetName "sdp-ldc-ver" dflags "-O2" "-J=views" "-I=src/sdp" buildRequirements "allowWarnings" - buildOptions "verbose" "releaseMode" "optimize" "inline" + buildOptions "verbose" "optimize" "inline" # "releaseMode" +} +configuration "sdp-ldc-release" { + name "ldc" + targetType "executable" + platforms "posix" + targetName "sdp-ldc" + dflags "-O2" "-J=views" "-I=src/sdp" + buildRequirements "allowWarnings" + buildOptions "verbose" "optimize" "inline" "releaseMode" + postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'sdp-ldc'" } configuration "sdp-ldc-debug" { name "debuging" @@ -180,7 +216,7 @@ configuration "sdp-gdc" { dflags "-O2" "-J=views" "-I=src/sdp" lflags "-lz" buildRequirements "allowWarnings" - buildOptions "verbose" "releaseMode" "optimize" "inline" + buildOptions "verbose" "optimize" "inline" # "releaseMode" postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'sdp-gdc'" } configuration "sdp-gdc-version" { @@ -191,7 +227,18 @@ configuration "sdp-gdc-version" { dflags "-O2" "-J=views" "-I=src/sdp" lflags "-lz" buildRequirements "allowWarnings" - buildOptions "verbose" "releaseMode" "optimize" "inline" + buildOptions "verbose" "optimize" "inline" # "releaseMode" +} +configuration "sdp-gdc-release" { + name "gdc" + targetType "executable" + platforms "posix" + targetName "sdp-gdc" + dflags "-O2" "-J=views" "-I=src/sdp" + lflags "-lz" + buildRequirements "allowWarnings" + buildOptions "verbose" "optimize" "inline" "releaseMode" + postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'sdp-gdc'" } configuration "sdp-gdc-debug" { name "debuging" -- cgit v1.2.3