mirror of https://github.com/status-im/gomoji.git
13 lines
277 B
Makefile
13 lines
277 B
Makefile
|
GO_FILES=$(shell find . -name '*.go' | grep -vE 'vendor')
|
||
|
|
||
|
lint-fix:
|
||
|
go get github.com/golangci/golangci-lint
|
||
|
goimports -w $(GO_FILES)
|
||
|
go fmt ./...
|
||
|
golangci-lint -v run ./...
|
||
|
|
||
|
test:
|
||
|
go clean -testcache && go test -v -race ./...
|
||
|
|
||
|
bench:
|
||
|
go test -bench=. -benchmem -v ./...
|