#!/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

lua_to_luac的更多相关文章

随机推荐

  1. 华为CodeCraft2018 周进展

    上周: python验证lstm,效果不好.很多拟合的是直线.C++抄了个lstm,输出也是直线,不知道是程序的问题,还是模型的问题. 尝试bp神经网络求解.代码是抄的.回看天数是写死的,隐层只有一层 ...

  2. How Many Boyfriends

    知乎上看到一个问题,如果一个女人说自己集齐了12个星座的男朋友,那么她已经搞过多少男人了. 先考虑这个问题的最简单版本,如果说该女人每一次和12个星座的男人交往的概率相同. 考虑$dp$ 注意到这个问 ...

  3. Bean的基于注解的配置方式

    Boss.class import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import javax.a ...

  4. HDFS源码分析三-DataNode实现

    3. DataNode 实现( 未完待续 )

  5. Flutter实战视频-移动电商-11.首页_屏幕适配方案讲解

    11.首页_屏幕适配方案讲解 国人写的屏幕适配插件: https://github.com/OpenFlutter/flutter_screenutil 最新版本是0.5.1 在pubspec.yam ...

  6. HDU - 3410 Passing the Message 单调递减栈

    Passing the Message What a sunny day! Let’s go picnic and have barbecue! Today, all kids in “Sun Flo ...

  7. 1090 Highest Price in Supply Chain (25 分)

    A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone invo ...

  8. Mol Cell Proteomics. |彭建祥| 人胃肠道间质瘤亚群蛋白质组图谱

    大家好,本周分享的是发表在Molecular & Cellular Proteomics 上的一篇关于人胃肠道间质瘤亚群蛋白质组图谱的文章,题目是Proteomic maps of human ...

  9. PUSH 和 远程推送

    1. UIApplacation向 APNS 注册 push notification 服务 (1) 应用程序要支持推送服务, 在网页里面配置  http://developer.apple.com/ ...

  10. [題解](最短路/二分)luogu_P1462通往奧格瑞瑪的道路

    看到最大的最小值應該想到二分答案,這樣就解決了最小點權的問題,判血量就很好說,直接比較就行, 一個點是二分點權數組,複製一份然後排序,二分下標,速度較快 這麼簡單的題我竟然寫了這麼長時間 #inclu ...