dotfiles/bin/compile.sh

20 lines
523 B
Bash
Executable File

#!/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"
evm config path /tmp
evm install emacs-25.1-travis --use --skip
export EMACS=$(sh -c 'type -P emacs')
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
cask install
cask exec emacs --script generate-html.el
cp "../dotfiles/emacs.d/README.html" out