forked from github/server
fix eressea.ini for travis, again
This commit is contained in:
parent
e1b1f9e03f
commit
9742ee265f
|
@ -1,14 +1,16 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
inifile() {
|
||||||
if [ ! -e eressea.ini ]; then
|
if [ ! -e eressea.ini ]; then
|
||||||
cp conf/eressea.ini .
|
cp conf/eressea.ini .
|
||||||
build/iniparser/inifile eressea.ini add lua:paths lunit:scripts
|
build/iniparser/inifile eressea.ini add lua:paths lunit:scripts
|
||||||
fi
|
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 -v1 scripts/run-tests.lua
|
build/eressea/eressea -v1 scripts/run-tests.lua
|
||||||
|
|
Loading…
Reference in New Issue