1
0
mirror of synced 2026-02-06 10:55:56 +00:00

Init toolkit CLI

This commit is contained in:
stefanprodan
2020-04-24 14:30:27 +03:00
parent ebdabaf98d
commit c8fdf76084
5 changed files with 355 additions and 0 deletions

19
Makefile Normal file
View File

@@ -0,0 +1,19 @@
VERSION?=$(shell grep 'VERSION' cmd/tk/main.go | awk '{ print $$4 }' | tr -d '"')
all: tidy fmt vet test build
build:
CGO_ENABLED=0 go build -o ./bin/tk ./cmd/tk
fmt:
go fmt ./...
vet:
go vet ./...
tidy:
go mod tidy
test:
go test ./... -coverprofile cover.out