summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsystem <system@MacBook-Pro.local>2023-08-27 21:16:38 +0800
committersystem <system@MacBook-Pro.local>2023-08-27 21:16:38 +0800
commitf88042186b088bcfb8e4a5330dd43d08588e1160 (patch)
treedc00558c01bc8ca145f2ef27f4ee9522dae1e75c /Makefile
parentab41b88f3739b167ae67973a8fbf92d2c1655502 (diff)
updated Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e6c872a..fdbc885 100644
--- a/Makefile
+++ b/Makefile
@@ -46,9 +46,14 @@ buildlinux:
@mv dist/setup dist/setup-linux
@mv dist/main dist/main-linux
-run: build
+run: build*
@open ./dist/*
+zipmacapp: buildmac
+ @zip -r dist/setup.app.zip dist/setup.app
+ @zip -r dist/main.app.zip dist/main.app
+ @if [ $$? -eq 0 ]; then printf "$(MAGENTA)Files dist(*.app) are zipped successfully\n"; else printf "$(RED)Error: Files dist(*.app) are not zipped\n"; fi
+
clean: cleanspec
@printf "$(YELLOW)Cleaning...$(NC)\n"
@rm -rf dist