Merge pull request #457 from FR86/patch-1

Moving dub binaries to bin/
This commit is contained in:
Sebastian Wilzbach 2018-03-30 11:55:59 +02:00 committed by GitHub
commit ee0acba5fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -3,13 +3,8 @@
set -e set -e
if [[ $BUILD == dub ]]; then if [[ $BUILD == dub ]]; then
mkdir bin
dub build --build=release --config=client dub build --build=release --config=client
dub build --build=release --config=server dub build --build=release --config=server
mv dcd-client ./bin
mv dcd-server ./bin
elif [[ $DC == ldc2 ]]; then elif [[ $DC == ldc2 ]]; then
git submodule update --init --recursive git submodule update --init --recursive
make ldc -j2 make ldc -j2

View File

@ -25,6 +25,7 @@
{ {
"name": "client", "name": "client",
"targetType": "executable", "targetType": "executable",
"targetPath": "bin/",
"targetName": "dcd-client", "targetName": "dcd-client",
"excludedSourceFiles": [ "excludedSourceFiles": [
"src/dcd/server/*" "src/dcd/server/*"
@ -33,6 +34,7 @@
{ {
"name": "server", "name": "server",
"targetType": "executable", "targetType": "executable",
"targetPath": "bin/",
"targetName": "dcd-server", "targetName": "dcd-server",
"excludedSourceFiles": [ "excludedSourceFiles": [
"src/dcd/client/*" "src/dcd/client/*"