go-waku/Makefile

23 lines
391 B
Makefile
Raw Normal View History

2021-08-13 11:56:09 +00:00
.PHONY: all build lint test
2021-04-13 18:54:15 +00:00
all: build
deps: lint-install
2021-04-13 18:54:15 +00:00
build:
go build -o build/waku waku.go
vendor:
go mod tidy
lint-install:
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
bash -s -- -b $(shell go env GOPATH)/bin v1.41.1
lint:
@echo "lint"
2021-08-13 11:56:09 +00:00
@golangci-lint --exclude=SA1019 run ./... --deadline=5m
2021-10-13 12:48:29 +00:00
2021-08-13 11:56:09 +00:00
test:
go test -v -failfast ./...