diff options
author | Nick White <git@njw.name> | 2022-02-21 10:33:07 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2022-02-21 10:33:07 +0000 |
commit | 066884ddf4a160baec7c8f3d0974d7aeca1eec6b (patch) | |
tree | bf17f2be654b5cfa00cb1c5518499a73d43e9339 /cmd/rescribe | |
parent | 58288c063a43d14bd041cd2b18430ef7e8829a0e (diff) |
rescribe: add .zip version of .app for mac
Diffstat (limited to 'cmd/rescribe')
-rw-r--r-- | cmd/rescribe/makefile | 5 |
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 |