dotfiles/gen-gh-pages/compile.sh

20 lines
519 B
Bash
Raw Normal View History

2016-12-28 03:08:34 -07:00
#!/usr/bin/env bash
export PATH="$HOME/.cask/bin:$HOME/.evm/bin:$PATH"
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
TARGET=$(readlink -f "$THIS_DIR/../dotfiles/emacs.d/README.org")
git clone https://github.com/rejeep/evm.git "$HOME/.evm"
2017-09-10 04:37:33 -06:00
evm config path /tmp
2016-12-28 03:08:34 -07:00
evm install emacs-25.1-travis --use --skip
2017-09-10 04:37:33 -06:00
export EMACS="$(evm bin)"
2016-12-28 03:08:34 -07:00
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
cask install
cask exec emacs --script generate-html.el
mv "$THIS_DIR/../dotfiles/emacs.d/README.html" .
2017-09-08 13:57:43 -06:00