workgroups/vendor/github.com/ettle/strcase/Makefile
Marvin Preuss 1d4ae27878
All checks were successful
continuous-integration/drone/push Build is passing
ci: drone yaml with reusable anchors
2021-09-24 17:34:17 +02:00

17 lines
470 B
Makefile

.PHONY: benchmark docs lint test
docs:
which godoc2ghmd || ( go get github.com/DevotedHealth/godoc2ghmd && go mod tidy )
godoc2ghmd -template .readme.tmpl github.com/ettle/strcase > README.md
test:
go test -cover ./...
lint:
which golangci-lint || ( go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.27.0 && go mod tidy )
golangci-lint run
golangci-lint run benchmark/*.go
benchmark:
cd benchmark && go test -bench=. -test.benchmem && go mod tidy