diff options
| author | ruki <[email protected]> | 2024-07-16 00:42:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-07-16 00:42:46 +0800 |
| commit | 2f4526310f5b04506f9f528fcd3b8e629ad220ab (patch) | |
| tree | 0096119039ffb964f2146c1a73d78be63efb2946 | |
| parent | 0dc0148b8bd4d48bec1b6aefdd59761c31361a93 (diff) | |
update install test
| -rw-r--r-- | tests/actions/install/src/foo.txt | 0 | ||||
| -rw-r--r-- | tests/actions/install/xmake.lua | 6 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/actions/install/src/foo.txt b/tests/actions/install/src/foo.txt new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/actions/install/src/foo.txt diff --git a/tests/actions/install/xmake.lua b/tests/actions/install/xmake.lua index d8a37ad48..025889da8 100644 --- a/tests/actions/install/xmake.lua +++ b/tests/actions/install/xmake.lua @@ -8,8 +8,10 @@ target("foo") set_kind("shared") add_files("src/foo.cpp") add_packages("libplist", {public = true}) + add_installfiles("src/foo.txt", {prefixdir = "assets", public = true}) + set_prefixdir("/", {bindir = "foo_bin", libdir = "foo_lib"}) -target("test5") +target("app") set_kind("binary") add_deps("foo") add_files("src/main.cpp") @@ -17,6 +19,6 @@ target("test5") includes("@builtin/xpack") xpack("test") - add_targets("test5") + add_targets("app") set_formats("zip") |
