Makefile: Use -trimpath while building #25

Merged
fyrchik merged 2 commits from fyrchik/linters:fix-linters into master 2024-09-04 19:51:22 +00:00
Showing only changes of commit 7fbd18be41 - Show all commits

View file

@ -6,7 +6,8 @@ test:
lib:
@mkdir -pv $(OUT_DIR)
@go build -buildmode=plugin -o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE)
@go build -buildmode=plugin -trimpath \
-o $(OUT_DIR)/external_linters.so $(PLUGIN_SOURCE)
lint:
@golangci-lint run