...

Text file src/github.com/go-playground/universal-translator/Makefile

Documentation: github.com/go-playground/universal-translator

     1GOCMD=GO111MODULE=on go
     2
     3linters-install:
     4	@golangci-lint --version >/dev/null 2>&1 || { \
     5		echo "installing linting tools..."; \
     6		curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.41.1; \
     7	}
     8
     9lint: linters-install
    10	golangci-lint run
    11
    12test:
    13	$(GOCMD) test -cover -race ./...
    14
    15bench:
    16	$(GOCMD) test -bench=. -benchmem ./...
    17
    18.PHONY: test lint linters-install

View as plain text