浏览代码

clean

/main
siyao 3 年前
当前提交
f8982c3d
共有 2 个文件被更改,包括 7 次插入5 次删除
  1. 6
      engine/Scripts/lib_build.py
  2. 6
      engine/Scripts/lib_build_android.sh

6
engine/Scripts/lib_build.py


tundra_file=Path(work_path + "/../artifacts/tundra.dag.json")
prelinkfiles(tundra_file, runtime_mode, output_path, work_path, bitcode)
elif runtime_mode == "debug":
if os.path.exists(Path(work_path + "/../build_debug")):
shutil.rmtree(Path(work_path + "/../build_debug"))
if os.path.exists(Path(work_path + "/../build_debug_arm64")):
shutil.rmtree(Path(work_path + "/../build_debug_arm64"))
if platform == "android" and architecture == "arm64":
elif platform == "android" and architecture == "arm64":
os.system("mono bee.exe " + platform +"_debug_arm64")
else:
os.system("mono bee.exe " + platform +"_debug")

6
engine/Scripts/lib_build_android.sh


engine_path=$(pwd)
runtime_mode=release
architecture=32
architecture=""
while getopts ":r:m:a:" opt
do
case $opt in

if [ $architecture = "64" ]; then
python3 lib_build.py -r $engine_path -p android -m $runtime_mode --arm64
else
elif [ ! $architecture ]; then
else
echo "If you want to build android arm64, please enter '-a 64'. \nWihtout enter this, it will build android arm32 by default"
fi
正在加载...
取消
保存