mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
add download script
This commit is contained in:
parent
e1af4011e4
commit
63193c4b3f
|
@ -2,7 +2,11 @@
|
||||||
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
||||||
version=v1.5.0
|
version=v1.5.0
|
||||||
|
|
||||||
echo "Downloading bbgo"
|
if [[ -n $1 ]] ; then
|
||||||
|
version=$1
|
||||||
|
fi
|
||||||
|
|
||||||
curl -L -o bbgo https://github.com/c9s/bbgo/releases/download/$version/bbgo-$osf
|
curl -L -o bbgo https://github.com/c9s/bbgo/releases/download/$version/bbgo-$osf
|
||||||
chmod +x bbgo
|
chmod +x bbgo
|
||||||
echo "Binary downloaded"
|
|
||||||
|
echo "bbgo is downloaded at ./bbgo"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user