summaryrefslogtreecommitdiff
path: root/tests/plugins/pack/macapp/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/pack/macapp/xmake.lua')
-rw-r--r--tests/plugins/pack/macapp/xmake.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/plugins/pack/macapp/xmake.lua b/tests/plugins/pack/macapp/xmake.lua
new file mode 100644
index 000000000..4dd391ae0
--- /dev/null
+++ b/tests/plugins/pack/macapp/xmake.lua
@@ -0,0 +1,19 @@
+set_version("1.0.0")
+add_rules("mode.debug", "mode.release")
+
+includes("@builtin/xpack")
+
+target("macapp")
+ add_rules("xcode.application")
+ add_files("src/*.m", "src/**.storyboard", "src/*.xcassets")
+ add_files("src/Info.plist")
+
+xpack("macapp")
+ set_formats("dmg")
+ set_title("MacApp Test")
+ set_author("ruki <[email protected]>")
+ set_description("A test macOS application installer.")
+ set_homepage("https://xmake.io")
+ set_license("Apache-2.0")
+ add_targets("macapp")
+