Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit 11a421f

Browse files
committed
get dependencies before building
1 parent f7fab01 commit 11a421f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -x
44

5+
go get ./...
6+
57
mkdir -p build/linux/amd64
68
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags -s -o build/linux/amd64/check_nsc_web check_nsc_web.go
79
mkdir -p build/linux/386

0 commit comments

Comments
 (0)