generated from TrueCloudLab/basic
13 lines
202 B
Makefile
13 lines
202 B
Makefile
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
|
|
|