scaffold/Makefile

28 lines
503 B
Makefile
Raw Permalink Normal View History

2020-02-20 08:31:22 +01:00
build:
CGO_ENABLED=0 go build -o ./bin/scaffold ./cmd/scaffold
test:
go clean -testcache
go test -v -race ./...
watch:
modd
deps:
go get -u golang.org/x/tools/cmd/godoc
go get -u github.com/cortesi/modd/cmd/modd
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
lint:
golangci-lint run --tests=false --enable-all
2020-04-07 09:00:03 +02:00
vendor:
go mod vendor
release: clean vendor
./misc/script/release
2020-02-20 08:31:22 +01:00
clean:
rm -rf ./bin ./release ./coverage
2020-04-07 09:00:03 +02:00
.PHONY: test clean lint coverage doc release vendor