[travis] Move run_make_on_org to top

This commit is contained in:
Ivan Malison 2017-09-08 13:00:19 -07:00
parent d9ea3ecff2
commit fe145769ee
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -1,5 +1,15 @@
#!/usr/bin/env bash
function run_make_on_org () {
original="$(pwd)"
cd .cask
cd "$(ls | head)"
cd elpa
cd "$(ls | grep org-plus)"
make autoloads
cd $original
}
export PATH="$HOME/.cask/bin:$HOME/.evm/bin:$PATH"
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@ -22,13 +32,3 @@ cask exec emacs --script generate-html.el
mv "$THIS_DIR/../dotfiles/emacs.d/README.html" .
function run_make_on_org () {
original="$(pwd)"
cd .cask
cd "$(ls | head)"
cd elpa
cd "$(ls | grep org-plus)"
make autoloads
cd $original
}