git repos / blockattack-game

travis_build.script

browsing at commit = a5f9369d4ecf6e606790447dce5f86b2f6b1ff54

raw · blame · history

#! /bin/bash
set -e

# First check for formatting errors
bash source/misc/lint/runLint.sh

# Travis runs Ubuntu 12.04 and misses libutfcpp-dev.
cp source/misc/travis_help/utf8_v2_3_4/source/utf8.h source/code/
cp -r source/misc/travis_help/utf8_v2_3_4/source/utf8 source/code/
cmake .
make
make clean
./packdata.sh
#i686-pc-mingw32-c++ -c -std=c++11 source/code/os.cpp -o windows_os_test.o