scaffold/Makefile

28 lines
510 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
2021-07-09 13:59:38 +02:00
release: clean
2020-04-07 09:00:03 +02:00
./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
2021-07-09 13:59:38 +02:00
.PHONY: test clean lint coverage doc release