Add setup script.

This should get (most) of the dependencies.
This commit is contained in:
Justin Hsu 2017-09-20 15:21:06 +01:00
parent f70e1b7fd2
commit f96b1c6592
1 changed files with 25 additions and 0 deletions

25
scripts/setup.sh Normal file
View File

@ -0,0 +1,25 @@
#!/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