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

Commit 3ce3a26

Browse files
committed
Add release build script
1 parent f252ccc commit 3ce3a26

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
vendor
1+
vendor
2+
bin

ci/build.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
export GOARCH=amd64
3+
4+
build(){
5+
go build -o bin/sshcode-$GOOS-$GOARCH
6+
}
7+
8+
GOOS=darwin build
9+
GOOS=linux build

0 commit comments

Comments
 (0)