From 9bec897cdada305cae8ce78809dc3f9fe9cf8776 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 14 Jun 2016 23:25:36 -0400 Subject: step4.1 as step4 but extract header meta & make on first reading in document --- maker.org | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'maker.org') 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+ -- cgit v1.2.3