aboutsummaryrefslogtreecommitdiffhomepage
path: root/maker.org
diff options
context:
space:
mode:
Diffstat (limited to 'maker.org')
-rw-r--r--maker.org14
1 files changed, 11 insertions, 3 deletions
diff --git a/maker.org b/maker.org
index 2cc2ea7..5c7a0d3 100644
--- a/maker.org
+++ b/maker.org
@@ -109,6 +109,7 @@ Set debug flags using DMD standard flag -debug= e.g.:
footnotesdone
group
header
+ header_and_content
header1
headerjson
headermakejson
@@ -349,8 +350,9 @@ clean:
rm $(PRG_BINDIR)/*
expunge:
- rm -rf $(PRG_BINDIR); \
- rm -rf $(PRG_SRCDIR)/$(PRG_NAME);
+ rm -f $(PRG_SRCDIR)/*; \
+ rm -rf $(PRG_SRCDIR)/$(PRG_NAME); \
+ rm -rf $(PRG_BINDIR);
distclean: expunge
@@ -435,7 +437,7 @@ license "AGPL-3+"
targetPath "./bin"
sourcePath "./src"
stringImportPaths "./views"
-buildRequirements "disallowDeprecations"
+buildRequirements "disallowDeprecations" "allowWarnings"
configuration "sdp-release" {
name "release"
targetType "executable"
@@ -480,6 +482,8 @@ configuration "sdp-tmp" {
targetName "sdp-tmp"
debugVersions "tmp"
debugVersions "crap"
+ debugVersions "header"
+ debugVersions "header1"
buildOptions "debugMode" "debugInfo" "optimize"
postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'sdp-tmp'"
}
@@ -493,6 +497,10 @@ configuration "sdp-debug-clean" {
}
#+END_SRC
+dflags platform="dmd" "-v --force -de -w -J./views -I./src/sdp -of./bin/sdp"
+dflags platform="dmd" "-O -release"
+#buildOptions "-O -release"
+
*** +dub.json+ :json:
**** +sdp+