Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dimoniet authored May 28, 2024
1 parent 8618881 commit f715767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ build_all: test clean
CGO_ENABLED=0 \
GOOS=$$OS \
GOARCH=$$ARCH \
[ $$ARCH = "arm" ] && GOARM=6 \
[ $$ARCH = "arm" ] && GOARM=6 \ || \
go build -ldflags="-s -w" -trimpath \
-o=$(BIN)/$(BINARY_NAME)-$$OS-$$ARCH/$(BINARY_NAME) ./app; \
[ $$OS = "windows" ] && (cd $(BIN); mv $(BINARY_NAME)-$$OS-$$ARCH/$(BINARY_NAME) $(BINARY_NAME)-$$OS-$$ARCH/$(BINARY_NAME).exe; zip -r $(BINARY_NAME)-$$OS-$$ARCH.zip $(BINARY_NAME)-$$OS-$$ARCH; cd ../) \
Expand Down

0 comments on commit f715767

Please sign in to comment.