commit
ee0acba5fc
|
@ -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
|
||||
|
|
2
dub.json
2
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/*"
|
||||
|
|
Loading…
Reference in New Issue