Skip to content

Commit

Permalink
Makefile: Fix binary filename of Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ish-hcc committed May 10, 2024
1 parent ccdfb72 commit 658be34
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 @@ -90,7 +90,7 @@ build: lint swag ## Build the binary file

linux: lint swag ## Build the binary file for Linux
@echo Building...
@cd cmd/${MODULE_NAME} && GOOS=linux CGO_ENABLED=0 ${GO_COMMAND} build -o ${MODULE_NAME}.exe main.go
@cd cmd/${MODULE_NAME} && GOOS=linux CGO_ENABLED=0 ${GO_COMMAND} build -o ${MODULE_NAME} main.go
@git diff > .diff_last_build
@git rev-parse HEAD > .git_hash_last_build
@echo Build finished!
Expand Down

0 comments on commit 658be34

Please sign in to comment.