summaryrefslogtreecommitdiffhomepage
path: root/org/config_dub.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-07 10:11:24 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-07 10:21:42 -0400
commit0a1a8ce68c7b27cc4e86e9fab71a99e311d9e7d0 (patch)
treeb5ec034ef6f93826be263302460c36f205537ac9 /org/config_dub.org
parentarsd.core.d import (diff)
configuration a& build related
Diffstat (limited to 'org/config_dub.org')
-rw-r--r--org/config_dub.org13
1 files changed, 7 insertions, 6 deletions
diff --git a/org/config_dub.org b/org/config_dub.org
index 42c5f6f..61405f6 100644
--- a/org/config_dub.org
+++ b/org/config_dub.org
@@ -54,33 +54,34 @@
"homepage": "https://sisudoc.org",
"license": "AGPL-3.0+",
"targetPath": "./cgi-bin",
- "sourcePaths": [ "./src" ],
+ "sourcePaths": [ "./src/sisudoc" ],
+ "importPaths": [ "./views" ],
"stringImportPaths": [ "./views" ],
"buildRequirements": [ "allowWarnings" ],
"targetType": "executable",
"buildTypes": {
"dmd": {
- "dflags": [ "-J=views", "-I=src" ],
+ "dflags": [ "-O", "-J=views", "-I=src/sisudoc" ],
"buildOptions": [ "inline", "verbose" ],
"buildRequirements": [ "allowWarnings" ]
},
"ldc2": {
- "dflags": [ "-O2", "-J=views", "-I=src" ],
+ "lflags": [ "-O2", "-I=src/sisudoc" ],
"buildOptions": [ "optimize", "inline", "verbose" ],
"buildRequirements": [ "allowWarnings" ]
},
"ldmd2": {
- "dflags": [ "-O2", "-boundscheck=on", "-J=views", "-I=src", "-color=on" ],
+ "dflags": [ "-O", "-J=views", "-I=src/sisudoc" ],
"buildOptions": [ "optimize", "inline", "verbose" ],
"buildRequirements": [ "allowWarnings" ]
},
"gdc": {
- "dflags": [ "-O2", "-J=views", "-I=src" ],
+ "lflags": [ "-O2", "-J=views", "-I=src/sisudoc" ],
"buildOptions": [ "optimize", "inline" ],
"buildRequirements": [ "allowWarnings" ]
},
"gdmd": {
- "dflags": [ "-O2", "-J=views", "-I=src" ],
+ "dflags": [ "-O", "-J=views", "-I=src/sisudoc" ],
"buildOptions": [ "optimize", "inline" ],
"buildRequirements": [ "allowWarnings" ]
}