aboutsummaryrefslogtreecommitdiffhomepage
path: root/maker.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-06-14 23:25:36 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-04 14:48:18 -0400
commit9bec897cdada305cae8ce78809dc3f9fe9cf8776 (patch)
treed05d0e4f2d9a9b2c5273e0a33bbbdf84580543b2 /maker.org
parentstep4 some additional work (diff)
step4.1 as step4 but extract header meta & make on first reading in documentdoc-reform_v0.0.4
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+