Update paths to from gabriel.alfour to ligolang, add example ligo run with --help

This commit is contained in:
Matej Sima 2019-05-27 18:04:26 +02:00
parent 81a22846c1
commit 15d1e0e580

View File

@ -1,12 +1,12 @@
#!/bin/bash
# You can run this installer like this:
# curl https://gitlab.com/gabriel.alfour/ligo/blob/master/scripts/installer.sh | bash
# curl https://gitlab.com/ligolang/ligo/blob/master/scripts/installer.sh | bash
# Make sure the marigold/ligo image is published at docker hub first
set -euET -o pipefail
echo "Installing LIGO"
# Install the ligo.sh from master
wget https://gitlab.com/gabriel.alfour/ligo/blob/master/scripts/ligo.sh
wget https://gitlab.com/ligolang/ligo/blob/master/scripts/ligo.sh
# Copy the exucutable to the appropriate directory
sudo cp ligo.sh /usr/local/bin/ligo
@ -14,4 +14,5 @@ sudo chmod +x /usr/local/bin/ligo
rm ligo.sh
# Installation finished, try running 'ligo' from your CLI
echo "Installation successful, try running 'ligo' now. \n"
echo "Installation successful, trying to run 'ligo' now. \n"
ligo --help