feat(bin): add script for testing leanemacs without installing Lean

This commit is contained in:
Leonardo de Moura 2015-01-31 17:35:20 -08:00
parent 03f43ca629
commit 70d62245a6

9
bin/test_leanemacs Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Script for testing load-lean.el without installing Lean
MY_PATH="`dirname \"$0\"`" # relative
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
export LEAN_ROOTDIR="$MY_PATH/.."
export LEAN_EMACS_PATH="$MY_PATH/../src/emacs"
emacs -load $LEAN_EMACS_PATH/load-lean.el -debug-init