12 lines
365 B
Bash
Executable File
12 lines
365 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# loads the lisp project of the current working directory in a repl and allows for
|
|
# connecting to the repl via sly.
|
|
|
|
if [ `ls | grep *.asd` ]; then
|
|
sbcl --eval '(push (truename ".") asdf:*central-registry*)' \
|
|
--eval "(ql:quickload :$(basename `pwd`))" \
|
|
--eval '(ql:quickload :slynk)' \
|
|
--eval '(slynk:create-server)'
|
|
fi
|