Désactivation du vendoring
This commit is contained in:
parent
e5a2ec8d51
commit
91e1fa2638
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
build: pack
|
build: pack
|
||||||
CGO_ENABLED=0 go build -mod vendor -v -o bin/junit2md ./cmd/junit2md
|
CGO_ENABLED=0 go build -v -o bin/junit2md ./cmd/junit2md
|
||||||
|
|
||||||
pack:
|
pack:
|
||||||
cd cmd/junit2md && packr2 -v
|
cd cmd/junit2md && packr2 -v
|
||||||
|
|
|
@ -23,7 +23,6 @@ function build {
|
||||||
echo "building $dirname..."
|
echo "building $dirname..."
|
||||||
|
|
||||||
CGO_ENABLED=0 GOOS="$os" GOARCH="$arch" go build \
|
CGO_ENABLED=0 GOOS="$os" GOARCH="$arch" go build \
|
||||||
-mod=vendor \
|
|
||||||
-ldflags="-s -w -X main.GitCommit=$(current_commit_ref) -X main.ProjectVersion=$(current_version)" \
|
-ldflags="-s -w -X main.GitCommit=$(current_commit_ref) -X main.ProjectVersion=$(current_version)" \
|
||||||
-gcflags=-trimpath="${PWD}" \
|
-gcflags=-trimpath="${PWD}" \
|
||||||
-asmflags=-trimpath="${PWD}" \
|
-asmflags=-trimpath="${PWD}" \
|
||||||
|
|
Loading…
Reference in New Issue