-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flag for earliest file to transfer
- Loading branch information
1 parent
e1b7edb
commit 91da820
Showing
5 changed files
with
334 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
# Build seaflow-transfer command-line tool for 64-bit MacOS and Linux | ||
|
||
[[ -d seaflow-transfer.darwin-amd64 ]] && rm -rf seaflow-transfer.darwin-amd64 | ||
[[ -d seaflow-transfer.linux-amd64 ]] && rm -rf seaflow-transfer.linux-amd64 | ||
GOOS=darwin GOARCH=amd64 go build -o seaflow-transfer.darwin-amd64/seaflow-transfer cmd/seaflow-transfer/main.go || exit 1 | ||
GOOS=linux GOARCH=amd64 go build -o seaflow-transfer.linux-amd64/seaflow-transfer cmd/seaflow-transfer/main.go || exit 1 | ||
zip -q -r seaflow-transfer.darwin-amd64.zip seaflow-transfer.darwin-amd64 || exit 1 | ||
zip -q -r seaflow-transfer.linux-amd64.zip seaflow-transfer.linux-amd64 || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.