Initial commit
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
test:
|
||||
go clean -testcache
|
||||
go test -v ./...
|
||||
|
||||
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
|
||||
|
||||
coverage:
|
||||
@script/coverage
|
||||
|
||||
lint:
|
||||
golangci-lint run --tests=false --enable-all
|
||||
|
||||
clean:
|
||||
rm -rf ./bin ./release ./coverage
|
||||
|
||||
doc:
|
||||
@echo "open your browser to http://localhost:6060/pkg/forge.cadoles.com/wpetit/goweb to see the documentation"
|
||||
godoc -http=:6060
|
||||
|
||||
|
||||
.PHONY: test clean lint coverage doc
|
Reference in New Issue
Block a user