summaryrefslogtreecommitdiff
path: root/cmd/rescribe/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rescribe/makefile')
-rw-r--r--cmd/rescribe/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile
index c30f429..ffe2c16 100644
--- a/cmd/rescribe/makefile
+++ b/cmd/rescribe/makefile
@@ -21,7 +21,7 @@ OSXCROSSBIN=$(HOME)/src/osxcross/target/bin
EMBEDS=embed_darwin_amd64.go embed_linux.go embed_windows.go gui.go embed_darwin_arm64.go embed_other.go
GODEPS=gui.go main.go $(EMBEDS)
-all: dist/linux/rescribe dist/darwin_universal/Rescribe.app dist/windows/rescribe.exe
+all: dist/linux/rescribe dist/darwin_universal/rescribe.zip dist/windows/rescribe.exe
dist/linux/rescribe: $(GODEPS)
go generate
@@ -47,6 +47,9 @@ dist/darwin_universal/Rescribe.app: dist/darwin_universal/rescribe
fyne package --name Rescribe --exe dist/darwin_universal/rescribe --os darwin --icon icon.png
mv Rescribe.app $@
+dist/darwin_universal/rescribe.zip: dist/darwin_universal/Rescribe.app
+ cd dist/darwin_universal; zip -r rescribe.zip Rescribe.app
+
dist/windows/rescribe-bin.exe: $(GODEPS)
go generate
mkdir -p dist/windows