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:
Christopher Allen Lane 2022-07-04 12:34:06 -04:00
parent 12ffa4cb5c
commit 35262df4f2

View File

@ -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):