Skip to content

Commit e7e5469

Browse files
committed
update build script
1 parent bcf0cd5 commit e7e5469

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: build-linux.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
22

3-
GOOS=linux GOARCH=amd64 go build -o target/godis-linux ./src/cmd
3+
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o target/godis-linux ./src/cmd

Diff for: build.sh

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/usr/bin/env bash
22

3-
43
go build -i -o target/godis-darwin ./src/cmd

0 commit comments

Comments
 (0)