From 5c5dfa9f4f88497013764edd7cf2637cf5fceae7 Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Mon, 23 Mar 2015 00:55:56 +0100 Subject: [PATCH] fix Issue #205 - git submodules don't work with dub - fix dub.json to use dub dependencies - add githash generation and string import paths --- dub.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dub.json b/dub.json index 44bc442..9e534bc 100644 --- a/dub.json +++ b/dub.json @@ -5,8 +5,10 @@ "authors": ["Brian Schott"], "license" : "Boost Software License - Version 1.0", "targetType": "executable", + "preBuildCommands": ["git log -1 --format='%H' > githash.txt"], + "stringImportPaths": ["."], "dependencies": { - "libdparse": { "path": "libdparse/" }, - "inifiled": { "path": "inifiled/" } - } + "libdparse": "~>0.2.0", + "inifiled": ">=0.0.3", + }, }