File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ DEST := $(shell echo "$(DESTDIR)/$(PREFIX)" | sed 's:///*:/:g; s://*$$::')
4
4
5
5
GO ?= go
6
6
TAR ?= tar
7
+ ZIP ?= zip
7
8
PLANTUML ?= plantuml # may also be "java -jar plantuml.jar" if installed elsewhere
8
9
9
10
GOOS ?= $(shell $(GO ) env GOOS)
@@ -133,6 +134,13 @@ artifacts-linux:
133
134
GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc make clean binaries
134
135
$(TAR ) -C _output/ -czvf _artifacts/lima-$(VERSION_TRIMMED ) -Linux-aarch64.tar.gz ./
135
136
137
+ .PHONY : artifacts-windows
138
+ artifacts-windows :
139
+ mkdir -p _artifacts
140
+ GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc make clean binaries
141
+ $(TAR ) -C _output/ -czvf _artifacts/lima-$(VERSION_TRIMMED ) -Windows-x86_64.tar.gz ./
142
+ cd _output && $(ZIP ) -r ../_artifacts/lima-$(VERSION_TRIMMED ) -Windows-x86_64.zip *
143
+
136
144
.PHONY : artifacts-misc
137
145
artifacts-misc :
138
146
mkdir -p _artifacts
You can’t perform that action at this time.
0 commit comments