[travis] builds linux template now.

This commit is contained in:
James Chen 2014-01-06 19:42:51 -08:00
parent 23012352ce
commit 2f7c41bd28
1 changed files with 17 additions and 0 deletions

View File

@ -76,6 +76,23 @@ elif [ "$PLATFORM"x = "linux"x ]; then
cd linux-build cd linux-build
cmake ../.. cmake ../..
make -j10 make -j10
cd ..
# build template
echo "Building template projects for linux ..."
cd tools/project-creator
./create_project.py -n MyGameCpp -k com.MyCompany.AwesomeGameCpp -l cpp -p $HOME
./create_project.py -n MyGameLua -k com.MyCompany.AwesomeGameLua -l lua -p $HOME
cd $HOME/MyGameCpp
mkdir build
cd build
cmake ..
make -j10
cd $HOME/MyGameLua
mkdir build
cd build
cmake ..
make -j10
elif [ "$PLATFORM"x = "emscripten"x ]; then elif [ "$PLATFORM"x = "emscripten"x ]; then
# Generate binding glue codes # Generate binding glue codes