mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Changed build rule and added release rule to Makefile
This commit is contained in:
parent
3287d76588
commit
a7af568ccf
1 changed files with 6 additions and 3 deletions
9
Makefile
9
Makefile
|
|
@ -47,12 +47,15 @@ inst: ## go install tools
|
||||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
|
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2
|
||||||
go install github.com/goreleaser/goreleaser@v1.18.2
|
go install github.com/goreleaser/goreleaser@v1.18.2
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: goreleaser
|
||||||
build: ## goreleaser build
|
release: ## goreleaser build
|
||||||
build:
|
|
||||||
$(call print-target)
|
$(call print-target)
|
||||||
goreleaser build --clean --single-target --snapshot
|
goreleaser build --clean --single-target --snapshot
|
||||||
|
|
||||||
|
.PHONY: build
|
||||||
|
build: ## goreleaser build
|
||||||
|
go build --tags=all
|
||||||
|
|
||||||
.PHONY: docker
|
.PHONY: docker
|
||||||
docker: ## docker build
|
docker: ## docker build
|
||||||
docker:
|
docker:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue