File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ mkdir -p ./dist/bin
20
20
go generate ./internal/cmd/...
21
21
22
22
for GOOS in linux darwin; do
23
- GOOS=$GOOS GOARCH=amd64 go build -a -o ./dist/bin/vervet-$GOOS -x64 ./cmd/vervet
24
- GOOS=$GOOS GOARCH=arm64 go build -a -o ./dist/bin/vervet-$GOOS -arm64 ./cmd/vervet
23
+ CGO_ENABLED=0 GOOS=$GOOS GOARCH=amd64 go build -a -o ./dist/bin/vervet-$GOOS -x64 ./cmd/vervet
24
+ CGO_ENABLED=0 GOOS=$GOOS GOARCH=arm64 go build -a -o ./dist/bin/vervet-$GOOS -arm64 ./cmd/vervet
25
25
done
26
- GOOS=windows GOARCH=amd64 go build -a -o ./dist/bin/vervet.exe ./cmd/vervet
26
+ CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -a -o ./dist/bin/vervet.exe ./cmd/vervet
27
27
28
28
cp packaging/npm/passthrough.js dist/bin/vervet
29
29
cp README.md LICENSE ATTRIBUTIONS dist/
Original file line number Diff line number Diff line change 1
- GOMOD =go mod
2
- GOBUILD =go build
3
- GOTEST =go test
4
-
5
1
.PHONY : fmt
6
2
fmt :
7
3
go fmt ./...
@@ -20,7 +16,7 @@ lint-docker:
20
16
21
17
.PHONY : tidy
22
18
tidy :
23
- $( GOMOD ) tidy -v
19
+ go build tidy -v
24
20
25
21
.PHONY : test
26
22
test :
You can’t perform that action at this time.
0 commit comments