Skip to content

Commit 6c43e00

Browse files
committed
refactor build scripts
1 parent ad6f430 commit 6c43e00

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

client/build-linux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o httpshell-linux
1+
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o httpshell-linux
2+
tar czvf httpshell-linux.tar.gz httpshell-linux

client/build-mac.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -o httpshell-mac
1+
GOOS=darwin GOARCH=amd64 CGO_ENABLED=1 go build -o httpshell-mac
2+
tar czvf httpshell-mac.tar.gz httpshell-mac

client/build-win.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build -o httpshell.exe
1+
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 go build -o httpshell.exe
2+
zip httpshell-windows.zip httpshell.exe

server/build-linux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o httpshelld
1+
GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o httpshelld
2+
tar czvf httpshelld-linux.tar.gz httpshelld

0 commit comments

Comments
 (0)