summaryrefslogtreecommitdiff
path: root/tests/actions/package/localpkg/bar/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-02 22:48:05 +0800
committerruki <[email protected]>2021-06-02 22:48:05 +0800
commiteee121636be554cdeef8907bd0d2fac6a23304a6 (patch)
tree1fe24ca4d7fe8740bc222c75aa28ad03b978da63 /tests/actions/package/localpkg/bar/xmake.lua
parent4223c60a70bf0220f15c18fe3ec4a5dda24b317a (diff)
add localpkg test
Diffstat (limited to 'tests/actions/package/localpkg/bar/xmake.lua')
-rw-r--r--tests/actions/package/localpkg/bar/xmake.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/actions/package/localpkg/bar/xmake.lua b/tests/actions/package/localpkg/bar/xmake.lua
new file mode 100644
index 000000000..9024b2065
--- /dev/null
+++ b/tests/actions/package/localpkg/bar/xmake.lua
@@ -0,0 +1,11 @@
+add_rules("mode.debug", "mode.release")
+
+add_repositories("local-repo build")
+add_requires("foo")
+
+target("bar")
+ set_kind("binary")
+ add_files("src/*.cpp")
+ add_packages("foo")
+
+