forked from github/server
update configure script for multiple game directories
This commit is contained in:
parent
b4cea49843
commit
14f83b91e6
|
@ -23,6 +23,10 @@ cd $BIN_DIR
|
||||||
CC="$CC" cmake .. -DCMAKE_MODULE_PATH=$PWD/../cmake/Modules -DCMAKE_BUILD_TYPE=Debug
|
CC="$CC" cmake .. -DCMAKE_MODULE_PATH=$PWD/../cmake/Modules -DCMAKE_BUILD_TYPE=Debug
|
||||||
make -j$JOBS
|
make -j$JOBS
|
||||||
make test
|
make test
|
||||||
cd ../game
|
cd ..
|
||||||
ln -sf ../$BIN_DIR/server/server
|
for GAME in game* ; do
|
||||||
./server -e run_tests
|
cd $GAME
|
||||||
|
ln -sf ../$BIN_DIR/server/server
|
||||||
|
./server -e run_tests
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue