summaryrefslogtreecommitdiff
path: root/tests/actions/package/localpkg/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/actions/package/localpkg/test.lua')
-rw-r--r--tests/actions/package/localpkg/test.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/actions/package/localpkg/test.lua b/tests/actions/package/localpkg/test.lua
new file mode 100644
index 000000000..ae685d928
--- /dev/null
+++ b/tests/actions/package/localpkg/test.lua
@@ -0,0 +1,8 @@
+function main(t)
+ os.cd("libfoo")
+ os.exec("xmake package -vD -o ../bar/build")
+ os.cd("../bar")
+ os.exec("xmake f -c -vD")
+ os.exec("xmake -vD")
+ os.exec("xmake run")
+end