mirror of https://github.com/axmolengine/axmol.git
[travis] builds linux template now.
This commit is contained in:
parent
23012352ce
commit
2f7c41bd28
|
@ -76,6 +76,23 @@ elif [ "$PLATFORM"x = "linux"x ]; then
|
|||
cd linux-build
|
||||
cmake ../..
|
||||
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
|
||||
# Generate binding glue codes
|
||||
|
|
Loading…
Reference in New Issue