justin-site/scripts/setup.sh
Justin Hsu f96b1c6592 Add setup script.
This should get (most) of the dependencies.
2017-09-20 15:21:06 +01:00

26 lines
364 B
Bash

#!/opt/local/bin/zsh
port install ghc hs-cabal-install opam ocaml rvm
# ghc and haskell
cabal sandbox init
cabal update
# hakyll
cabal install hakyll
# bibtex2html
opam init
opam update
opam upgrade
opam config env
opam install bibtex2html
# compass
rvm install 2.4.1
rvm use 2.4.1 --default
rvm @global do gem install compass
# fingers crossed
make preview