diff options
| author | ruki <[email protected]> | 2020-04-22 22:43:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-22 10:18:18 +0800 |
| commit | 762a7bc9386a0acaede7d54453611999a589c776 (patch) | |
| tree | 23973800aa279410ee545ee3e36513dbce502fe1 /tests/projects/xmake_cli/hello/src/lua | |
| parent | eb53ce52d978925f285991556d2354ceb4cfd654 (diff) | |
improve to run xmake/cli
Diffstat (limited to 'tests/projects/xmake_cli/hello/src/lua')
| -rw-r--r-- | tests/projects/xmake_cli/hello/src/lua/main.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/projects/xmake_cli/hello/src/lua/main.lua b/tests/projects/xmake_cli/hello/src/lua/main.lua index f83baddf8..1ce83e728 100644 --- a/tests/projects/xmake_cli/hello/src/lua/main.lua +++ b/tests/projects/xmake_cli/hello/src/lua/main.lua @@ -1,3 +1,8 @@ +import("core.base.option") function main () print("hello xmake!") + local argv = option.get("arguments") + if argv then + print(argv) + end end |
