diff options
Diffstat (limited to 'cmd/rescribe/makefile')
-rw-r--r-- | cmd/rescribe/makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cmd/rescribe/makefile b/cmd/rescribe/makefile index 4d06e36..f1db3f3 100644 --- a/cmd/rescribe/makefile +++ b/cmd/rescribe/makefile @@ -28,6 +28,10 @@ dist/linux/rescribe: $(GODEPS) mkdir -p dist/linux GOOS=linux GOARCH=amd64 go build -tags embed -o $@ . +dist/linux/rescribe-nogenerate: $(GODEPS) + mkdir -p dist/linux + GOOS=linux GOARCH=amd64 go build -tags embed -o $@ . + build/darwin_amd64/rescribe: $(GODEPS) go generate mkdir -p build/darwin_amd64 @@ -61,5 +65,11 @@ dist/windows/rescribe.exe: build/windows/rescribe-bin.exe CC="x86_64-w64-mingw32-gcc" fyne package --name Rescribe --exe build/windows/rescribe-bin.exe --os windows --icon icon.png mv rescribe.exe $@ +# used for flatpak building +modules.tar.xz: ../../go.mod + go mod vendor + cd ../.. && tar c vendor | xz > cmd/rescribe/$@ + clean: rm -rf dist build + rm -rf ../../vendor |