Désactivation du vendoring

This commit is contained in:
wpetit 2021-10-15 13:04:15 +02:00
parent e5a2ec8d51
commit 91e1fa2638
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,5 @@
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:
cd cmd/junit2md && packr2 -v

View File

@ -23,7 +23,6 @@ function build {
echo "building $dirname..."
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)" \
-gcflags=-trimpath="${PWD}" \
-asmflags=-trimpath="${PWD}" \