From f96b1c6592a32aab1303ee5362a77058ab00cc08 Mon Sep 17 00:00:00 2001 From: Justin Hsu Date: Wed, 20 Sep 2017 15:21:06 +0100 Subject: [PATCH] Add setup script. This should get (most) of the dependencies. --- scripts/setup.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scripts/setup.sh diff --git a/scripts/setup.sh b/scripts/setup.sh new file mode 100644 index 0000000..abb1c15 --- /dev/null +++ b/scripts/setup.sh @@ -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