first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
# seems superfluous
|
||||
#.PHONY: fmt vet build clean
|
||||
|
||||
tools:
|
||||
GOPROXY=direct go install git.wamblee.org/public/gotools/cmd/go2junit@main
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
vet: fmt
|
||||
go vet ./...
|
||||
|
||||
|
||||
build: vet
|
||||
mkdir -p bin
|
||||
go build -o bin ./cmd/...
|
||||
|
||||
install:
|
||||
go install ./...
|
||||
|
||||
test: build
|
||||
go test -count=1 -coverprofile=testout/coverage.out -json ${TESTFLAGS} ./... | go2junit testout
|
||||
|
||||
clean:
|
||||
rm -rf bin
|
||||
|
||||
all: build
|
||||
Reference in New Issue
Block a user