dev/haskell: add install script; fix .ghci filename
This commit is contained in:
parent
37d376502b
commit
7972ca54a2
12
dev/haskell/install
Executable file
12
dev/haskell/install
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
brew install ghc cabal-install
|
||||
;;
|
||||
linux*)
|
||||
if [[ -f /etc/arch-release ]]; then
|
||||
sudo pacman --needed --noconfirm -S ghc cabal-install
|
||||
fi
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue