c1_unity/Tools/tranexcel/transDoc.txt
2023-04-03 11:04:31 +08:00

24 lines
698 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

config.json规则如下
{
"erlang": true,
"lua": false,
"ignore": [
"dir1/dir2",
"!dir1/dir2/file1\.xls"
"dir1/dir3",
]
}
erlang字段指是否导出erl代码
lua字段指是否导出lua代码
ignore字段为字符串数组每行含义为
1. 不以!开头(黑名单),代表导表时忽略改文件或该目录。
2. 以!开头(白名单),代表重新引入该文件或文件夹。
注意:
1. 无论在windows或者linux/mac环境下使用都使用/分割路径
2. 路径为导表源文件夹的相对路径。
3. 文件或文件夹名字使用正则表达式,所以对特殊符号需要加\处理如示例中的file1\.xls