dev/haskell: add install script; fix .ghci filename

This commit is contained in:
Henrik Lissner 2016-12-23 19:49:34 -05:00
parent 37d376502b
commit 7972ca54a2
2 changed files with 12 additions and 0 deletions

12
dev/haskell/install Executable file
View 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