generated from TrueCloudLab/basic
[#25] Makefile: Use -trimpath while building
All checks were successful
All checks were successful
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
a0d01aad6a
commit
5c5317d011
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue