Add pulling of the docker image used by the CLI wrapper, nicer comments & messages
This commit is contained in:
parent
15d1e0e580
commit
b5f175f6c1
@ -6,13 +6,16 @@ set -euET -o pipefail
|
||||
echo "Installing LIGO"
|
||||
|
||||
# Install the ligo.sh from master
|
||||
wget https://gitlab.com/ligolang/ligo/blob/master/scripts/ligo.sh
|
||||
# wget https://gitlab.com/ligolang/ligo/blob/master/scripts/ligo.sh
|
||||
wget localhost:8080/scripts/ligo.sh
|
||||
|
||||
# Copy the exucutable to the appropriate directory
|
||||
sudo cp ligo.sh /usr/local/bin/ligo
|
||||
sudo chmod +x /usr/local/bin/ligo
|
||||
rm ligo.sh
|
||||
|
||||
# Pull the docker image used by ligo.sh
|
||||
docker pull ligolang/ligo:latest
|
||||
|
||||
# Installation finished, try running 'ligo' from your CLI
|
||||
echo "Installation successful, trying to run 'ligo' now. \n"
|
||||
ligo --help
|
||||
echo "Installation successful, try to run 'ligo --help' now. \n"
|
@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo "$@"
|
||||
docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:latest "$@"
|
Loading…
Reference in New Issue
Block a user