Skip to content

Commit

Permalink
Fix release-all target
Browse files Browse the repository at this point in the history
Since `main.go` was moved into `cmd/q` the target didn't work anymore
and make tool was failing with an error.
  • Loading branch information
soulim committed Dec 15, 2022
1 parent 8c7b39d commit 30cfa5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ uninstall:

.PHONY: release-linux-amd64
release-linux-amd64: | $(DST_DIR)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o $(DST_DIR)/q
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o $(DST_DIR)/q ./$(CMD_DIR)
tar --create \
--gzip \
--directory=$(DST_DIR) \
Expand All @@ -52,7 +52,7 @@ release-linux-amd64: | $(DST_DIR)

.PHONY: release-darwin-amd64
release-darwin-amd64: | $(DST_DIR)
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o $(DST_DIR)/q
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o $(DST_DIR)/q ./$(CMD_DIR)
tar --create \
--gzip \
--directory=$(DST_DIR) \
Expand Down

0 comments on commit 30cfa5e

Please sign in to comment.