mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-25 12:58:51 +00:00
Rename tk binary to gotk
To avoid conflicts with the `tk` binary from the Tanka project.
This commit is contained in:
parent
cb23d3ff3c
commit
22624ae4d5
108 changed files with 500 additions and 500 deletions
10
Makefile
10
Makefile
|
|
@ -1,4 +1,4 @@
|
|||
VERSION?=$(shell grep 'VERSION' cmd/tk/main.go | awk '{ print $$4 }' | tr -d '"')
|
||||
VERSION?=$(shell grep 'VERSION' cmd/gotk/main.go | awk '{ print $$4 }' | tr -d '"')
|
||||
|
||||
all: test build
|
||||
|
||||
|
|
@ -15,14 +15,14 @@ test: tidy fmt vet docs
|
|||
go test ./... -coverprofile cover.out
|
||||
|
||||
build:
|
||||
CGO_ENABLED=0 go build -o ./bin/tk ./cmd/tk
|
||||
CGO_ENABLED=0 go build -o ./bin/gotk ./cmd/gotk
|
||||
|
||||
install:
|
||||
go install cmd/tk
|
||||
go install cmd/gotk
|
||||
|
||||
.PHONY: docs
|
||||
docs:
|
||||
mkdir -p ./docs/cmd && go run ./cmd/tk/ docgen
|
||||
mkdir -p ./docs/cmd && go run ./cmd/gotk/ docgen
|
||||
|
||||
install-dev:
|
||||
CGO_ENABLED=0 go build -o /usr/local/bin ./cmd/tk
|
||||
CGO_ENABLED=0 go build -o /usr/local/bin ./cmd/gotk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue