minetestmapper/util/travis/script.sh
2018-03-25 13:58:18 +02:00

16 lines
158 B
Bash
Executable File

#!/bin/bash -e
CXX=g++-7
[ $CC == "clang" ] && CXX=clang++-5.0
export CXX
mkdir -p travisbuild
cd travisbuild
cmake \
-DENABLE_LEVELDB=1 \
..
make -j2