小应用工具集
npm install -g gamelet-toolkit
gamelet-cli builtinres -p [路径前缀] -d [打包文件夹]
gamelet-cli fileop -c [文件操作配置文件] -s [源目录] -d [目标目录]
gamelet-cli builtinres -p BuiltinRes -d ./test
gamelet-cli fileop -c ./test/fileop/config.json -s ./test/fileop/src -d ./test/fileop/dst
// 支持拷贝文件夹/文件,忽略链接
config.json
{
"copy_dir": [
{"src": "2", "dst": "./"}
],
"copy_file": [
{"src": "1.txt", "dst": "1.txt"}
]
}