From da6f5d079e01906fb5dc558390659557a869df8f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 19 Dec 2022 21:27:17 -0500 Subject: nix flake, things nix --- dub.json | 73 ++++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 48 insertions(+), 25 deletions(-) (limited to 'dub.json') diff --git a/dub.json b/dub.json index 2156289..08edb2d 100644 --- a/dub.json +++ b/dub.json @@ -1,6 +1,6 @@ { "authors": [ - "Ralph Amissah" + "Ralph Amissah" ], "copyright": "Copyright © 2015 - 2022 Ralph Amissah", "name": "spine_search", @@ -17,12 +17,27 @@ "buildTypes": { "dmd": { "dflags": [ "-J=views", "-I=src" ], - "buildOptions": [ "verbose", "inline" ], + "buildOptions": [ "inline", "verbose" ], "buildRequirements": [ "allowWarnings" ] }, - "ldc": { + "ldc2": { "dflags": [ "-O2", "-J=views", "-I=src" ], - "buildOptions": [ "verbose", "optimize", "inline" ], + "buildOptions": [ "optimize", "inline", "verbose" ], + "buildRequirements": [ "allowWarnings" ] + }, + "ldmd2": { + "dflags": [ "-O2", "-boundscheck=on", "-J=views", "-I=src", "-color=on" ], + "buildOptions": [ "optimize", "inline", "verbose" ], + "buildRequirements": [ "allowWarnings" ] + }, + "gdc": { + "dflags": [ "-O2", "-J=views", "-I=src" ], + "buildOptions": [ "optimize", "inline" ], + "buildRequirements": [ "allowWarnings" ] + }, + "gdmd": { + "dflags": [ "-O2", "-J=views", "-I=src" ], + "buildOptions": [ "optimize", "inline" ], "buildRequirements": [ "allowWarnings" ] } }, @@ -31,24 +46,6 @@ "spine_search:d2sqlite3": "*" }, "subPackages": [ - { - "name": "arsd.cgi", - "description": "cgi", - "homepage": "https://code.dlang.org/packages/arsd-official", - "authors": [ "Adam Ruppee" ], - "copyright": "Copyright 2011-18 Adam Ruppee", - "license": "BSL-1.0", - "sourcePaths": [ "./src/ext_depends_cgi/arsd" ], - "importPaths": [ "./src/ext_depends_cgi/arsd" ], - "configurations": [ - { - "name": "cgi", - "cgi": "with-lib", - "targetType": "library", - "systemDependencies": "Arsd version >= 0.8.7" - } - ] - }, { "name": "d2sqlite3", "description": "A thin wrapper around SQLite 3", @@ -56,8 +53,8 @@ "authors": [ "Nicolas Sicard", "Other contributors: see Github repo" ], "copyright": "Copyright 2011-18 Nicolas Sicard", "license": "BSL-1.0", - "sourcePaths": [ "./src/ext_depends_cgi/d2sqlite3/source" ], - "importPaths": [ "./src/ext_depends_cgi/d2sqlite3/source" ], + "sourcePaths": [ "./src/ext_depends/d2sqlite3/source" ], + "importPaths": [ "./src/ext_depends/d2sqlite3/source" ], "configurations": [ { "name": "d2sqlite3", @@ -68,6 +65,24 @@ "excludedSourceFiles": [ "source/tests.d" ] } ] + }, + { + "name": "arsd.cgi", + "description": "cgi", + "homepage": "https://code.dlang.org/packages/arsd-official", + "authors": [ "Adam Ruppee" ], + "copyright": "Copyright 2011-18 Adam Ruppee", + "license": "BSL-1.0", + "sourcePaths": [ "./src/ext_depends/arsd" ], + "importPaths": [ "./src/ext_depends/arsd" ], + "configurations": [ + { + "name": "cgi", + "cgi": "with-lib", + "targetType": "library", + "systemDependencies": "Arsd version >= 0.8.7" + } + ] } ], "configurations": [ @@ -76,12 +91,20 @@ "targetName": "spine_search" }, { - "name": "ldc", + "name": "ldc2", + "targetName": "spine-search-ldc.cgi" + }, + { + "name": "ldmd2", "targetName": "spine-search-ldc.cgi" }, { "name": "dmd", "targetName": "spine-search-dmd.cgi" + }, + { + "name": "gdc", + "targetName": "spine-search-gdc.cgi" } ] } -- cgit v1.2.3