From 2aad4eac48c9da88836f519da1e4b6e449570ab6 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 4 Apr 2019 14:32:17 -0400 Subject: 0.6.0 docReform project license AGPLv3+ - copyright Ralph Amissah - license - project src AGPLv3+ - applied retroactively to project and within git by git rebase prior to any release of project - org files consider, for time being separate - ./maker.org moved to ./org/dr_build_scaffold.org - pre-release development continues - can initialize project from: makefile & org files - cp -av makefile org (and possibly data/pod & data/src) then - make skel tangle ldc --- dub.sdl | 148 ++++++++++++++++------------------------------------------------ 1 file changed, 37 insertions(+), 111 deletions(-) (limited to 'dub.sdl') diff --git a/dub.sdl b/dub.sdl index 368f581..5b60fe0 100644 --- a/dub.sdl +++ b/dub.sdl @@ -2,148 +2,74 @@ name "doc-reform" description "sisu document parser" homepage "http://sisudoc.org" authors "Ralph Amissah" -copyright "Copyright © 2016 Ralph Amissah" -license "AGPL-3+" +copyright "Copyright (C) 2016 - 2019 Ralph Amissah" +license "AGPL-3.0+" targetPath "./bin" #sourcePath "./src/doc_reform" stringImportPaths "./views" buildRequirements "allowWarnings" -dependency "archive" version="~>0.6.0" # http://code.dlang.org/packages/archive https://github.com/rcythr/archive -dependency "d2sqlite3" version="~>0.16.2" # https://code.dlang.org/packages/d2sqlite3 http://biozic.github.io/d2sqlite3/d2sqlite3.html +targetType "executable" +platforms "posix" +dependency "archive" version="~>0.6.0" # http://code.dlang.org/packages/archive https://github.com/rcythr/archive +dependency "d2sqlite3" version="~>0.16.2" # https://code.dlang.org/packages/d2sqlite3 http://biozic.github.io/d2sqlite3/d2sqlite3.html subconfiguration "d2sqlite3" "all-included" -dependency "imageformats" version="~>7.0.0" # https://code.dlang.org/packages/imageformats https://github.com/lgvz/imageformats -dependency "toml" version="~>1.0.0-rc.3" # https://code.dlang.org/packages/toml https://github.com/toml-lang/toml/wiki +dependency "imageformats" version="~>7.0.0" # https://code.dlang.org/packages/imageformats https://github.com/lgvz/imageformats +dependency "toml" version="~>1.0.0-rc.3" # https://code.dlang.org/packages/toml https://github.com/toml-lang/toml/wiki dependency "toml:json" version="~>1.0.0-rc.3" -configuration "doc-reform-release" { - name "release" - targetType "executable" - platforms "posix" +configuration "default" { targetName "doc-reform" - dflags "-J=views" "-I=src/doc_reform" - buildOptions "verbose" "releaseMode" "optimize" "inline" - postGenerateCommands "/usr/bin/notify-send -t 0 'D release executable ready' 'doc-reform'" + postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'doc-reform'" } -configuration "doc-reform-dmd" { - name "dmd" - targetType "executable" - platforms "posix" +configuration "dmd" { targetName "doc-reform-dmd" - dflags "-J=views" "-I=src/doc_reform" - buildRequirements "allowWarnings" - buildOptions "verbose" "inline" # "optimize" # "releaseMode" - postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'doc-reform-dmd'" + postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'doc-reform-dmd'" } -configuration "doc-reform-dmd-version" { - name "dmd" - targetType "executable" - platforms "posix" - targetName "doc-reform-dmd-ver" +buildType "dmd" { dflags "-J=views" "-I=src/doc_reform" + buildOptions "verbose" "inline" buildRequirements "allowWarnings" - buildOptions "verbose" "optimize" "inline" # "releaseMode" } -configuration "doc-reform-dmd-release" { - name "dmd" - targetType "executable" - platforms "posix" - targetName "doc-reform-dmd" +buildType "dmd-release" { dflags "-J=views" "-I=src/doc_reform" - buildRequirements "allowWarnings" - buildOptions "verbose" "optimize" "inline" "releaseMode" - postGenerateCommands "/usr/bin/notify-send -t 0 'D dmd compiled test release executable ready' 'doc-reform-dmd'" + buildOptions "verbose" "releaseMode" "optimize" "inline" } -configuration "doc-reform-dmd-debug" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "doc-reform-dmd-debug" - dflags "-J=views" "-I=src/doc_reform" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" - debugVersions "dumpdoc" - postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'doc-reform-dmd-debug'" +configuration "dmd-version" { + targetName "doc-reform-dmd-ver" + postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'doc-reform-dmd-ver'" } -configuration "doc-reform-ldc" { - name "ldc" - targetType "executable" - platforms "posix" +configuration "ldc" { targetName "doc-reform-ldc" - dflags "-O2" "-J=views" "-I=src/doc_reform" - buildRequirements "allowWarnings" - buildOptions "verbose" "optimize" "inline" # "releaseMode" - postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'doc-reform-ldc'" + postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'doc-reform-ldc'" } -configuration "doc-reform-ldc-version" { - name "ldc" - targetType "executable" - platforms "posix" - targetName "doc-reform-ldc-ver" - dflags "-O2" "-J=views" "-I=src/doc_reform" - buildRequirements "allowWarnings" - buildOptions "verbose" "optimize" "inline" # "releaseMode" +buildType "ldc" { + dflags "-O2" "-J=views" "-I=src/doc_reform" + buildOptions "verbose" "optimize" "inline" + buildRequirements "allowWarnings" } -configuration "doc-reform-ldc-release" { - name "ldc" - targetType "executable" - platforms "posix" - targetName "doc-reform-ldc" +buildType "ldc-release" { dflags "-O2" "-J=views" "-I=src/doc_reform" - buildRequirements "allowWarnings" buildOptions "verbose" "optimize" "inline" "releaseMode" - postGenerateCommands "/usr/bin/notify-send -t 0 'D ldc2 compiled test release executable ready' 'doc-reform-ldc'" } -configuration "doc-reform-ldc-debug" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "doc-reform-ldc-debug" - dflags "-J=views" "-I=src/doc_reform" - buildRequirements "allowWarnings" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" - postGenerateCommands "/usr/bin/notify-send -t 0 'D (debug) executable ready' 'doc-reform-ldc-debug'" +configuration "ldc-version" { + targetName "doc-reform-ldc-ver" + postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'doc-reform-ldc-ver'" } -configuration "doc-reform-gdc" { - name "gdc" - targetType "executable" - platforms "posix" +configuration "gdc" { targetName "doc-reform-gdc" - dflags "-O2" "-J=views" "-I=src/doc_reform" - lflags "-lz" - buildRequirements "allowWarnings" - buildOptions "optimize" "inline" # "releaseMode" - postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'doc-reform-gdc'" + postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'doc-reform-gdc'" } -configuration "doc-reform-gdc-version" { - name "gdc" - targetType "executable" - platforms "posix" - targetName "doc-reform-gdc-ver" +buildType "gdc" { dflags "-O2" "-J=views" "-I=src/doc_reform" lflags "-lz" + buildOptions "optimize" "inline" buildRequirements "allowWarnings" - buildOptions "verbose" "optimize" "inline" # "releaseMode" } -configuration "doc-reform-gdc-release" { - name "gdc" - targetType "executable" - platforms "posix" - targetName "doc-reform-gdc" +buildType "gdc-release" { dflags "-O2" "-J=views" "-I=src/doc_reform" lflags "-lz" - buildRequirements "allowWarnings" buildOptions "verbose" "optimize" "inline" "releaseMode" - postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled test release executable ready' 'doc-reform-gdc'" } -configuration "doc-reform-gdc-debug" { - name "debuging" - targetType "executable" - platforms "posix" - targetName "doc-reform-gdc-debug" - dflags "-O2" "-fbuiltin" "-Wall" "-Werror" "-Wformat=2" "-g" "-J=views" "-I=src/doc_reform" - lflags "-lz" - buildOptions "verbose" "debugMode" "debugInfo" "optimize" - debugVersions "checkdoc" "summary" - postGenerateCommands "/usr/bin/notify-send -t 0 'D gdc compiled (debug with -g) executable ready' 'doc-reform-gdc-debug'" +configuration "gdc-version" { + targetName "doc-reform-gdc-ver" + postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'doc-reform-gdc-ver'" } -- cgit v1.2.3