dotfiles/gen-gh-pages/compile.sh

21 lines
531 B
Bash
Raw Permalink 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
2021-07-12 23:18:11 -06:00
git clone https://github.com/cask/cask
export PATH=$(pwd)/cask/bin:$PATH
2016-12-28 03:08:34 -07:00
cask install
2017-09-10 04:42:27 -06:00
cask exec "$EMACS" --script generate-html.el
2016-12-28 03:08:34 -07:00
mv "$THIS_DIR/../dotfiles/emacs.d/README.html" .
2017-09-08 13:57:43 -06:00