From 2d9778dc01c8ca6c5a915e1ee638251878990d10 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 13 Oct 2020 14:09:43 -0400 Subject: 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 --- dub.json | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'dub.json') 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" } } -- cgit v1.2.3