minetestmapper/util/travis/script.sh

16 lines
158 B
Bash
Raw Normal View History

2014-12-24 21:24:49 +01:00
#!/bin/bash -e
2018-03-25 13:52:51 +02:00
CXX=g++-7
[ $CC == "clang" ] && CXX=clang++-5.0
export CXX
2014-12-24 21:24:49 +01:00
mkdir -p travisbuild
cd travisbuild
cmake \
-DENABLE_LEVELDB=1 \
..
2014-12-24 21:24:49 +01:00
make -j2