mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Added revision to 'go install' commands
This commit is contained in:
parent
5e0687139e
commit
45056e3736
2 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ version: 2
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go mod download
|
- go mod download
|
||||||
- go install github.com/cpuguy83/go-md2man/v2
|
- go install github.com/cpuguy83/go-md2man/v2@latest
|
||||||
- go-md2man -in README.md -out manpage.1
|
- go-md2man -in README.md -out manpage.1
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -53,7 +53,7 @@ inst: ## go install tools
|
||||||
go install github.com/client9/misspell/cmd/misspell@v0.3.4
|
go install github.com/client9/misspell/cmd/misspell@v0.3.4
|
||||||
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
|
||||||
go install github.com/cpuguy83/go-md2man/v2
|
go install github.com/cpuguy83/go-md2man/v2@latest
|
||||||
|
|
||||||
.PHONY: goreleaser
|
.PHONY: goreleaser
|
||||||
release: ## goreleaser build
|
release: ## goreleaser build
|
||||||
|
|
@ -106,7 +106,7 @@ emulator:
|
||||||
|
|
||||||
man:
|
man:
|
||||||
$(call print-target)
|
$(call print-target)
|
||||||
go-md2man -in README.md -out magellan.1
|
$(GOPATH)/bin/go-md2man -in README.md -out magellan.1
|
||||||
|
|
||||||
define print-target
|
define print-target
|
||||||
@printf "Executing target: \033[36m$@\033[0m\n"
|
@printf "Executing target: \033[36m$@\033[0m\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue