Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Add build script and fix missing new line.
Browse files Browse the repository at this point in the history
  • Loading branch information
trading-peter committed Apr 13, 2021
1 parent fe2737c commit ccba0d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
GOOS=darwin GOARCH=amd64 go build -o ftx-auto-lend-mac
GOOS=linux GOARCH=386 go build -o ftx-auto-lend-linux
GOOS=windows GOARCH=386 go build -o ftx-auto-lend-win.exe

zip ftx-auto-lend-mac.zip ftx-auto-lend-mac
zip ftx-auto-lend-linux.zip ftx-auto-lend-linux
zip ftx-auto-lend-win.zip ftx-auto-lend-win.exe

rm ftx-auto-lend-mac ftx-auto-lend-linux ftx-auto-lend-win.exe
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func main() {
updateLendingOffer(coin, lendable, minRate)
})

fmt.Printf("Will attempt to update your lending offer for %s each hour.\nPress any key if you want to stop and exit the program.", coin)
fmt.Printf("Will attempt to update your lending offer for %s each hour.\nPress any key if you want to stop and exit the program.\n", coin)
fmt.Scanln()
fmt.Println("Bye!")
}
Expand Down

0 comments on commit ccba0d7

Please sign in to comment.