scaffold/Makefile

31 lines
548 B
Makefile
Raw 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-05-18 12:15:23 +02:00
gitea-release:
./misc/script/gitea-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