From 2a6477cc99c929edffbd805e9d7fffb40d6d63cf Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 21 Feb 2018 17:27:44 -0500 Subject: maker.org updates, including reggae builds --- dub.sdl | 158 ++++++++-------------------------------------------------------- 1 file changed, 18 insertions(+), 140 deletions(-) (limited to 'dub.sdl') diff --git a/dub.sdl b/dub.sdl index 408408b..3f267c4 100644 --- a/dub.sdl +++ b/dub.sdl @@ -8,58 +8,38 @@ targetPath "./bin" #sourcePath "./src/sdp" stringImportPaths "./views" buildRequirements "allowWarnings" -dependency "toml" version="~>0.4.0-rc.2" -dependency "toml:json" version="~>0.4.0-rc.2" # if not possible to parse toml directly go through json -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 "toml" version="~>0.4.0-rc.2" # https://code.dlang.org/packages/toml https://github.com/toml-lang/toml/wiki +dependency "toml:json" version="~>0.4.0-rc.2" +dependency "sdlang-d" version="~>0.10.1" # https://code.dlang.org/packages/sdlang-d https://github.com/Abscissa/SDLang-D +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" # http://code.dlang.org/packages/archive https://github.com/rcythr/archive -configuration "sdp-release" { - name "release" +dependency "archive" version="~>0.6.0" # http://code.dlang.org/packages/archive https://github.com/rcythr/archive +configuration "build" { + name "build" targetType "executable" platforms "posix" - targetName "sdp" + targetName "bin/sdp" dflags "-J=views" "-I=src/sdp" buildOptions "verbose" "releaseMode" "optimize" "inline" postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'sdp'" } -configuration "sdp-debug" { - name "debuging" +configuration "reggae" { + name "build" targetType "executable" platforms "posix" - targetName "sdp-debug" - dflags "-g" "-J=views" "-I=src/sdp" - #lflags "ld.gold" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" - 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" + targetName "bin/sdp-rg" 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'" + buildOptions "verbose" "releaseMode" "optimize" "inline" + postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'sdp'" } -configuration "sdp-debug-clean" { - name "debug-clean" +configuration "sdp-release" { + name "release" targetType "executable" platforms "posix" - targetName "sdp-debug-clean" + targetName "sdp" dflags "-J=views" "-I=src/sdp" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-clean'" + buildOptions "verbose" "releaseMode" "optimize" "inline" + postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'sdp'" } configuration "sdp-dmd" { name "dmd" @@ -102,42 +82,6 @@ configuration "sdp-dmd-debug" { debugVersions "dumpdoc" postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-dmd-debug'" } -configuration "sdp-dmd-debug-version" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-dmd-debug-ver" - dflags "-g" "-J=views" "-I=src/sdp" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" - debugVersions "dumpdoc" -} -configuration "sdp-dmd-debug-unittest" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-dmd-debug" - dflags "-J=views" "-I=src/sdp" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "unittests" "optimize" - debugVersions "checkdoc" "summary" - debugVersions "dumpdoc" - postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-dmd-debug'" -} -configuration "sdp-dmd-debug-docs" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-dmd-debug" - dflags "-J=views" "-I=src/sdp" - #lflags "ld.gold" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" - debugVersions "dumpdoc" - postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-dmd-debug'" -} configuration "sdp-ldc" { name "ldc" targetType "executable" @@ -176,38 +120,6 @@ configuration "sdp-ldc-debug" { buildRequirements "allowWarnings" buildOptions "verbose" "debugMode" "debugInfo" "optimize" debugVersions "checkdoc" "summary" - postGenerateCommands "time (./bin/sdp-ldc-debug --source --html --epub -v --output-dir=tmp/program-output data/sisupod/sisu-manual )" "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-ldc-debug'" -} -configuration "sdp-ldc-debug-version" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-ldc-debug-ver" - dflags "-g" "-J=views" "-I=src/sdp" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" -} -configuration "sdp-ldc-debug-unittest" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-ldc-debug" - dflags "-J=views" "-I=src/sdp" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "unittests" "optimize" - debugVersions "checkdoc" "summary" - postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-ldc-debug'" -} -configuration "sdp-ldc-debug-docs" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-ldc-debug" - dflags "-J=views" "-I=src/sdp" "-Dddocs" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-ldc-debug'" } configuration "sdp-gdc" { @@ -253,37 +165,3 @@ configuration "sdp-gdc-debug" { debugVersions "checkdoc" "summary" postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled (debug with -g) executable ready' 'sdp-gdc-debug'" } -configuration "sdp-gdc-debug-version" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-gdc-debug-ver" - dflags "-O2" "-fbuiltin" "-Wall" "-Werror" "-Wformat=2" "-g" "-J=views" "-I=src/sdp" - lflags "-lz" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" -} -configuration "sdp-gdc-debug-unittest" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-gdc-debug" - dflags "-J=views" "-I=src/sdp" "-Dddocs" - lflags "-lz" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "unittests" "optimize" - debugVersions "checkdoc" "summary" - postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-gdc-debug'" -} -configuration "sdp-gdc-debug-docs" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "sdp-gdc-debug" - dflags "-J=views" "-I=src/sdp" "-Dddocs" - lflags "-lz" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" - postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-gdc-debug'" -} -- cgit v1.2.3