Bash script to automate Sailfish language tools single user installation (Linux) or even removal. Latest filename for download at the time of this writting was for version 0.1.0 of Sailfish. Feel free to change the variables on the beggining to match whatever version you need.
Tested with:
- Ubuntu 18.04 (3/19/2019)
Download with wget or clone the repository
wget https://github.com/raw/canha/golang-tools-install-script/master/goinstall.sh
To install:
bash sailfishinstall.sh --install
bash sailfishinstall.sh --remove
The script will create a .sailfish
folder in your home directory, adding the needed variables for easy compilation.
$HOME/.sailfish folder is your where Sailfish will be installed to.
The following should return a help message if all was installed correctly:
sailfishc