Allow to specify tags for 'install' and 'install-cabal'

This commit is contained in:
2018-11-06 13:32:55 +08:00
parent a8032d54d5
commit cbb027d1ea
2 changed files with 220 additions and 87 deletions

View File

@@ -25,10 +25,17 @@ edo ./ghcup -v rm -f 8.6.1
# set GHC
edo ./ghcup -v set 8.2.2
edo ./ghcup -v rm -f 8.2.2
# install default GHC
edo ./ghcup -v install
# install latest GHC
edo ./ghcup -v install latest
# FIXME: this might break from time to time depending on recommended GHC
edo ./ghcup -v set 8.4.4
export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$PATH"
edo mkdir -p "$HOME"/.local/bin