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 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/*"