15 lines
302 B
Bash
Executable File
15 lines
302 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
. "$( cd "$(dirname "$0")" ; pwd -P )/../../ghcup_env"
|
|
|
|
curl -sSfL https://downloads.haskell.org/~ghcup/x86_64-apple-darwin-ghcup > ./ghcup-bin
|
|
chmod +x ghcup-bin
|
|
|
|
./ghcup-bin install ${GHC_VERSION}
|
|
./ghcup-bin set ${GHC_VERSION}
|
|
./ghcup-bin install-cabal ${CABAL_VERSION}
|
|
|
|
exit 0
|