summaryrefslogtreecommitdiff
path: root/tests/projects/xmake_cli/hello/src/lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-22 23:44:03 +0800
committerruki <[email protected]>2020-04-22 16:24:20 +0800
commit05df31effcfc9bc701387e1383b678f0914241be (patch)
treead03fc1658358ed939e1bb479289f4a3e9515130 /tests/projects/xmake_cli/hello/src/lua
parenta69f20d2daf4ed61b58b036eee7bf20a3034a30e (diff)
improve engine
Diffstat (limited to 'tests/projects/xmake_cli/hello/src/lua')
-rw-r--r--tests/projects/xmake_cli/hello/src/lua/main.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/projects/xmake_cli/hello/src/lua/main.lua b/tests/projects/xmake_cli/hello/src/lua/main.lua
index 0a1590543..d87daf102 100644
--- a/tests/projects/xmake_cli/hello/src/lua/main.lua
+++ b/tests/projects/xmake_cli/hello/src/lua/main.lua
@@ -1,9 +1,8 @@
import("core.base.option")
-import("lib.lni")
+import("lib.lni.test")
function main ()
- print(lni)
- print("hello xmake!")
+ print(test.hello())
local argv = option.get("arguments")
if argv then
print(argv)