Skip to content

Commit

Permalink
fix: fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
wwhai committed Sep 16, 2021
1 parent e082f76 commit bb8d24f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ all:
.PHONY: build
build:
go mod tidy
go build -ldflags "-s -w" -o ${APP}-${VERSION} main.go
go build -ldflags "-s -w" -o ${APP} main.go

.PHONY: xx
xx:
Expand All @@ -17,7 +17,7 @@ xx:
windows:
go mod tidy
SET GOOS=windows
go build -ldflags "-s -w" -o ${APP}-${VERSION}.exe main.go
go build -ldflags "-s -w" -o ${APP}.exe main.go

.PHONY: package
package:
Expand All @@ -44,7 +44,6 @@ cover:
clean:
go clean
rm *.db
rm ${APP}-${VERSION}.*

.PHONY: tag
tag:
Expand Down

0 comments on commit bb8d24f

Please sign in to comment.