axmol/tools/jenkins-scripts/slave-scripts/runtime/android-build.sh

13 lines
339 B
Bash
Raw Normal View History

2015-07-07 16:54:03 +08:00
#!/bin/bash
2021-05-18 16:40:30 +08:00
adxe_cmd=tools/console/bin/adxe
$adxe_cmd new -l $1 -t runtime
2015-07-07 16:54:03 +08:00
if [ $1 = "cpp" ];then
projectname="MyCppGame"
elif [ $1 = "lua" ];then
projectname="MyLuaGame"
elif [ $1 = "js" ];then
projectname="MyJSGame"
fi
2021-05-18 16:40:30 +08:00
$adxe_cmd compile -p android -s $projectname --android-studio -j4 --ndk-mode release --compile-script 0