diff options
| author | ruki <[email protected]> | 2020-04-23 22:49:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-23 10:57:14 +0800 |
| commit | 639f71ed0bf1ba2e2abf0cb91e784793a540c019 (patch) | |
| tree | 9b10fac75bbedad1d4ca6276540dd569d9a1e1da /xmake/templates/c/xmake.cli/project/src/lua/main.lua | |
| parent | c6c35ff6929f6e49d300b0b586588347a5a97e2c (diff) | |
add xmake.cli template
Diffstat (limited to 'xmake/templates/c/xmake.cli/project/src/lua/main.lua')
| -rw-r--r-- | xmake/templates/c/xmake.cli/project/src/lua/main.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xmake/templates/c/xmake.cli/project/src/lua/main.lua b/xmake/templates/c/xmake.cli/project/src/lua/main.lua new file mode 100644 index 000000000..d87daf102 --- /dev/null +++ b/xmake/templates/c/xmake.cli/project/src/lua/main.lua @@ -0,0 +1,10 @@ +import("core.base.option") +import("lib.lni.test") + +function main () + print(test.hello()) + local argv = option.get("arguments") + if argv then + print(argv) + end +end |
