2024-05-20 10:10:28 -04:00

18 lines
419 B
Makefile

.PHONY: all build lint-install lint
all: build
build:
go build -tags=gowaku_no_rln -o build/storemsgcounter ./cmd/storemsgcounter
go build -tags=gowaku_no_rln -o build/populatedb ./cmd/populatedb
lint-install:
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
bash -s -- -b $(shell go env GOPATH)/bin v1.52.2
lint:
@echo "lint"
@golangci-lint run ./... --deadline=5m