forked from github/server
Merge branch 'master' of github.com:badgerman/eressea
This commit is contained in:
commit
8d6a25d15a
|
@ -1,10 +1,16 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
ln -sf conf/eressea.ini
|
inifile() {
|
||||||
|
if [ ! -e eressea.ini ]; then
|
||||||
|
cp conf/eressea.ini .
|
||||||
|
build/iniparser/inifile eressea.ini add lua:paths lunit:scripts
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
[ -d build ] || mkdir build
|
[ -d build ] || mkdir build
|
||||||
cd build && cmake .. \
|
cd build && cmake .. \
|
||||||
-DCMAKE_MODULE_PATH=$PWD/../cmake/Modules \
|
-DCMAKE_MODULE_PATH=$PWD/../cmake/Modules \
|
||||||
-DCMAKE_BUILD_TYPE=Debug .. && \
|
-DCMAKE_BUILD_TYPE=Debug .. && \
|
||||||
make && cd .. &&
|
make && cd .. && inifile &&
|
||||||
build/eressea/test_eressea &&
|
build/eressea/test_eressea &&
|
||||||
build/eressea/eressea -v0 scripts/run-tests.lua
|
build/eressea/eressea -v0 scripts/run-tests.lua
|
||||||
|
|
Loading…
Reference in New Issue