feat(bin): add script for testing leanemacs without installing Lean
This commit is contained in:
parent
03f43ca629
commit
70d62245a6
1 changed files with 9 additions and 0 deletions
9
bin/test_leanemacs
Executable file
9
bin/test_leanemacs
Executable 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
|
||||||
Loading…
Add table
Reference in a new issue