-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed build rule and added release rule to Makefile
- Loading branch information
1 parent
3287d76
commit a7af568
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,12 +47,15 @@ inst: ## go install tools | |
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
go install github.com/goreleaser/[email protected] | ||
|
||
.PHONY: build | ||
build: ## goreleaser build | ||
build: | ||
.PHONY: goreleaser | ||
release: ## goreleaser build | ||
$(call print-target) | ||
goreleaser build --clean --single-target --snapshot | ||
|
||
.PHONY: build | ||
build: ## goreleaser build | ||
go build --tags=all | ||
|
||
.PHONY: docker | ||
docker: ## docker build | ||
docker: | ||
|