mirror of
https://github.com/cheat/cheat.git
synced 2024-11-21 13:31:36 +01:00
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
|
||||
$(dist_dir)/cheat-windows-amd64.exe: prepare
|
||||
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_dir):
|
||||
|
Loading…
Reference in New Issue
Block a user