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"
|
|
|
|
evm config path /tmp
|
|
|
|
evm install emacs-25.1-travis --use --skip
|
2017-09-08 13:35:21 -06:00
|
|
|
export PATH="$HOME/.evm/bin:$PATH"
|
2016-12-28 03:08:34 -07:00
|
|
|
|
|
|
|
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
|
2017-09-08 13:59:08 -06:00
|
|
|
export PATH="/home/travis/.cask/bin:$PATH"
|
|
|
|
|
|
|
|
echo "this is PATH $PATH"
|
2017-09-08 13:59:33 -06:00
|
|
|
type -a emacs
|
2016-12-28 03:08:34 -07:00
|
|
|
|
|
|
|
cask install
|
2017-09-08 13:57:43 -06:00
|
|
|
run_make_on_org
|
2016-12-28 03:08:34 -07:00
|
|
|
cask exec emacs --script generate-html.el
|
|
|
|
|
2016-12-29 17:52:41 -07:00
|
|
|
mv "$THIS_DIR/../dotfiles/emacs.d/README.html" .
|
2017-09-08 13:57:43 -06:00
|
|
|
|
|
|
|
|
|
|
|
function run_make_on_org () {
|
|
|
|
original="$(pwd)"
|
|
|
|
cd .cask
|
|
|
|
cd "$(ls | head)"
|
|
|
|
cd elpa
|
|
|
|
cd "$(ls | grep org-plus)"
|
|
|
|
make autoloads
|
|
|
|
cd $original
|
|
|
|
}
|