Skip to content

Commit 15185b8

Browse files
committed
Add quicklisp Makefile target
1 parent e6c0939 commit 15185b8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile

+10
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,13 @@ clean-cache:
191191
cleanall: clean clean-cache clean-quicklisp
192192
@echo "All cleaned and reindexed."
193193

194+
# Download and install Quicklisp.
195+
quicklisp:
196+
curl -o /tmp/quicklisp.lisp "http://beta.quicklisp.org/quicklisp.lisp"
197+
sbcl --noinform --non-interactive \
198+
--load /tmp/quicklisp.lisp \
199+
--eval '(quicklisp-quickstart:install)'
200+
echo >> ~/.sbclrc
201+
echo '#-quicklisp(let ((i(merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname))))(when(probe-file i)(load i)))' >> ~/.sbclrc
202+
echo "#+quicklisp(push \"$(shell pwd | xargs dirname)/\" ql:*local-project-directories*)" >> ~/.sbclrc
203+
rm -f /tmp/quicklisp.lisp

0 commit comments

Comments
 (0)