0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-12 03:28:12 +00:00
crazy-max_diun/vendor/github.com/go-playground/universal-translator/Makefile
2024-12-14 22:30:21 +01:00

18 lines
No EOL
404 B
Makefile

GOCMD=GO111MODULE=on go
linters-install:
@golangci-lint --version >/dev/null 2>&1 || { \
echo "installing linting tools..."; \
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.41.1; \
}
lint: linters-install
golangci-lint run
test:
$(GOCMD) test -cover -race ./...
bench:
$(GOCMD) test -bench=. -benchmem ./...
.PHONY: test lint linters-install