在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
#!/bin/sh `rm -rf allLua.zip` `mkdir ./tempScripts` `mkdir ./tempScripts/scripts` `cp -a ./scripts/ ./tempScripts/scripts` echo "拷贝中间文件" `find ./tempScripts -name .svn|xargs rm -rf` echo "删除svn" filelist=`find ./tempScripts/scripts -name "*.lua"` echo "生成luac" for file in $filelist do #filetmp=`echo ${file%.*}` `luac -o $file $file` done `zip allLua.zip -r ./tempScripts` `rm -rf ./tempScripts/` echo "完成"
lua_to_luac.sh |
请发表评论