aboutsummaryrefslogtreecommitdiffhomepage
path: root/dub.json
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-10-13 14:09:43 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-10-19 14:43:00 -0400
commit2d9778dc01c8ca6c5a915e1ee638251878990d10 (patch)
tree27a850e0eaf74937f78e7486552510cf954bc620 /dub.json
parentnixify step (diff)
build nix derivation (using dub2nix helper tool)
- nix-shell - nix-build - dub2nix (dub to nix helper tool) - Lionello Lunesu - MIT License - https://github.com/lionello/dub2nix
Diffstat (limited to 'dub.json')
-rw-r--r--dub.json29
1 files changed, 15 insertions, 14 deletions
diff --git a/dub.json b/dub.json
index 0a2707f..1097127 100644
--- a/dub.json
+++ b/dub.json
@@ -4,6 +4,7 @@
],
"copyright": "Copyright © 2015 - 2020 Ralph Amissah",
"name": "spine",
+ "version": "0.11.1",
"description": "a sisu like document parser",
"homepage": "http://sisudoc.org",
"license": "AGPL-3.0+",
@@ -13,15 +14,24 @@
"buildRequirements": [ "allowWarnings" ],
"targetType": "executable",
"platforms": [ "posix" ],
+ "buildTypes": {
+ "dmd": {
+ "dflags": [ "-J=views", "-I=src/doc_reform" ],
+ "buildOptions": [ "verbose", "inline" ],
+ "buildRequirements": [ "allowWarnings" ]
+ },
+ "ldc": {
+ "dflags": [ "-O2", "-J=views", "-I=src/doc_reform" ],
+ "buildOptions": [ "verbose", "optimize", "inline" ],
+ "buildRequirements": [ "allowWarnings" ]
+ }
+ },
"dependencies": {
"d2sqlite3": "~>0.19.1",
"imageformats": "~>7.0.2",
"dyaml": "~>0.8.0",
"tinyendian": "~>0.2.0"
},
- "subConfigurations": {
- "d2sqlite3": "all-included"
- },
"configurations": [
{
"name": "default",
@@ -36,16 +46,7 @@
"targetName": "spine-dmd"
}
],
- "buildTypes": {
- "dmd": {
- "dflags": [ "-J=views", "-I=src/doc_reform" ],
- "buildOptions": [ "verbose", "inline" ],
- "buildRequirements": [ "allowWarnings" ]
- },
- "ldc": {
- "dflags": [ "-O2", "-J=views", "-I=src/doc_reform" ],
- "buildOptions": [ "verbose", "optimize", "inline" ],
- "buildRequirements": [ "allowWarnings" ]
- }
+ "subConfigurations": {
+ "d2sqlite3": "with-lib"
}
}