[#25] Makefile: Use -trimpath while building
All checks were successful
Tests and linters / Build lib (pull_request) Successful in 2m2s
Tests and linters / Tests (pull_request) Successful in 1m58s
Tests and linters / Staticcheck (pull_request) Successful in 2m17s
Tests and linters / Lint (pull_request) Successful in 3m13s

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-08-28 14:16:27 +03:00
parent a0d01aad6a
commit 5c5317d011

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