linters/Makefile

14 lines
202 B
Makefile
Raw Normal View History

2023-07-18 08:16:27 +00:00
OUT_DIR?=./.bin
PLUGIN_SOURCE?=main.go
test:
@go test -v ./...
lib:
@mkdir -pv $(OUT_DIR)
@go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE)
lint:
@golangci-lint run