aboutsummaryrefslogtreecommitdiffhomepage
path: root/dub.sdl
diff options
context:
space:
mode:
Diffstat (limited to 'dub.sdl')
-rw-r--r--dub.sdl64
1 files changed, 43 insertions, 21 deletions
diff --git a/dub.sdl b/dub.sdl
index 7aa4621..88d23aa 100644
--- a/dub.sdl
+++ b/dub.sdl
@@ -1,13 +1,13 @@
name "sdp"
-description "sisu document parser."
+description "sisu document parser"
homepage "http://sisudoc.org"
authors "Ralph Amissah"
-copyright "©2016 Ralph Amissah"
+copyright "Copyright © 2016 Ralph Amissah"
license "AGPL-3+"
targetPath "./bin"
sourcePath "./src"
stringImportPaths "./views"
-buildRequirements "disallowDeprecations" "allowWarnings"
+buildRequirements "allowWarnings"
configuration "sdp-release" {
name "release"
targetType "executable"
@@ -16,24 +16,6 @@ configuration "sdp-release" {
buildOptions "releaseMode" "optimize" "inline"
postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'sdp'"
}
-configuration "sdp-dmd" {
- name "dmd"
- targetType "executable"
- platforms "posix"
- #compiler "dmd"
- targetName "sdp-dmd"
- buildOptions "releaseMode" "optimize" "inline"
- postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-dmd'"
-}
-configuration "sdp-ldc" {
- name "ldc"
- targetType "executable"
- platforms "posix"
- #compiler "ldc2"
- targetName "sdp-ldc"
- buildOptions "releaseMode" "optimize" "inline"
- postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'sdp-ldc'"
-}
configuration "sdp-debug" {
name "debuging"
targetType "executable"
@@ -65,3 +47,43 @@ configuration "sdp-debug-clean" {
buildOptions "debugMode" "debugInfo" "optimize"
postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-clean'"
}
+configuration "sdp-dmd" {
+ name "dmd"
+ targetType "executable"
+ platforms "posix"
+ #compiler "dmd"
+ targetName "sdp-dmd"
+ buildOptions "releaseMode" "optimize" "inline"
+ postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'sdp-dmd'"
+}
+configuration "sdp-debug-dmd" {
+ name "debuging"
+ targetType "executable"
+ platforms "posix"
+ targetName "sdp-debug-dmd"
+ debugVersions "checkdoc"
+ debugVersions "summary"
+ debugVersions "dumpdoc"
+ buildOptions "debugMode" "debugInfo" "optimize"
+ postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-dmd'"
+}
+configuration "sdp-ldc" {
+ name "ldc"
+ targetType "executable"
+ platforms "posix"
+ #compiler "ldc2"
+ targetName "sdp-ldc"
+ buildOptions "releaseMode" "optimize" "inline"
+ postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'sdp-ldc'"
+}
+configuration "sdp-debug-ldc" {
+ name "debuging"
+ targetType "executable"
+ platforms "posix"
+ targetName "sdp-debug-ldc"
+ debugVersions "checkdoc"
+ debugVersions "summary"
+ debugVersions "dumpdoc"
+ buildOptions "debugMode" "debugInfo" "optimize"
+ postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-debug-ldc'"
+}