From 8dc6f4dd3050573d76fbbfeeac4068f1a77b26c9 Mon Sep 17 00:00:00 2001 From: FR86 Date: Tue, 27 Mar 2018 22:41:21 +0200 Subject: [PATCH 1/2] Moving dub binaries to bin/ To get dub build in line with make and build.bat, binary output should end up in bin/. --- dub.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dub.json b/dub.json index 4764c85..8614b1c 100644 --- a/dub.json +++ b/dub.json @@ -25,6 +25,7 @@ { "name": "client", "targetType": "executable", + "targetPath": "bin/", "targetName": "dcd-client", "excludedSourceFiles": [ "src/dcd/server/*" @@ -33,6 +34,7 @@ { "name": "server", "targetType": "executable", + "targetPath": "bin/", "targetName": "dcd-server", "excludedSourceFiles": [ "src/dcd/client/*" From 51155b5f53562226c777f4af74c96a308524b80c Mon Sep 17 00:00:00 2001 From: FR86 Date: Wed, 28 Mar 2018 06:25:38 +0200 Subject: [PATCH 2/2] Adjusting travis.sh for new dub.json --- .travis.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.travis.sh b/.travis.sh index 93a8d51..31d68f3 100755 --- a/.travis.sh +++ b/.travis.sh @@ -3,13 +3,8 @@ set -e if [[ $BUILD == dub ]]; then - mkdir bin - dub build --build=release --config=client dub build --build=release --config=server - - mv dcd-client ./bin - mv dcd-server ./bin elif [[ $DC == ldc2 ]]; then git submodule update --init --recursive make ldc -j2