mirror of https://github.com/axmolengine/axmol.git
13 lines
339 B
Bash
Executable File
13 lines
339 B
Bash
Executable File
#!/bin/bash
|
|
adxe_cmd=tools/console/bin/adxe
|
|
$adxe_cmd new -l $1 -t runtime
|
|
if [ $1 = "cpp" ];then
|
|
projectname="MyCppGame"
|
|
elif [ $1 = "lua" ];then
|
|
projectname="MyLuaGame"
|
|
elif [ $1 = "js" ];then
|
|
projectname="MyJSGame"
|
|
fi
|
|
|
|
$adxe_cmd compile -p android -s $projectname --android-studio -j4 --ndk-mode release --compile-script 0
|