mirror of https://github.com/cheat/cheat.git
fix(build): Windows executable packaging
Fix an issue whereby the Windows zip release contained an extraneous (and annoying) `dist` parent directory.
This commit is contained in:
parent
12ffa4cb5c
commit
35262df4f2
2
Makefile
2
Makefile
|
@ -86,7 +86,7 @@ $(dist_dir)/cheat-linux-arm64: prepare
|
||||||
# cheat-windows-amd64
|
# cheat-windows-amd64
|
||||||
$(dist_dir)/cheat-windows-amd64.exe: prepare
|
$(dist_dir)/cheat-windows-amd64.exe: prepare
|
||||||
GOARCH=amd64 GOOS=windows \
|
GOARCH=amd64 GOOS=windows \
|
||||||
$(GO) build $(BUILD_FLAGS) -o $@ $(cmd_dir) && $(ZIP) $@.zip $@
|
$(GO) build $(BUILD_FLAGS) -o $@ $(cmd_dir) && $(ZIP) $@.zip $@ -j
|
||||||
|
|
||||||
# ./dist
|
# ./dist
|
||||||
$(dist_dir):
|
$(dist_dir):
|
||||||
|
|
Loading…
Reference in New Issue