Browse Source

Add setup script.

This should get (most) of the dependencies.
master
Justin Hsu 3 years ago
parent
commit
f96b1c6592
1 changed files with 25 additions and 0 deletions
  1. +25
    -0
      scripts/setup.sh

+ 25
- 0
scripts/setup.sh 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

Loading…
Cancel
Save