-
Notifications
You must be signed in to change notification settings - Fork 2
/
heroku-compile.lisp
35 lines (27 loc) · 1.12 KB
/
heroku-compile.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
(declaim (optimize (debug 3)))
(ql:quickload :qlot)
(format t "*load-truename*: ~S~%"
*load-truename*)
(let* ((raw-qlfile (uiop:merge-pathnames* #P"qlfile"
(uiop:pathname-directory-pathname
*load-truename*)))
(qlfile (probe-file raw-qlfile)))
(format t "qlfile: ~S~%"
raw-qlfile)
(unless qlfile
(format t "qlfile not found!~%"))
(qlot/install:install-qlfile qlfile)
(qlot:with-local-quicklisp (qlfile)
(push "./" asdf:*central-registry*)
(ql:quickload "reblocks-ui-docs/index")
(ql:quickload "reblocks/doc/example-server")
;; These modules are required because sources will not be available at runtime
;; on Heroku and SLYNK will die tryng to do asdf:load-system unless we preload
;; these systems into the Lisp image
(ql:quickload '(:slynk/arglists
:slynk/mrepl
:slynk/fancy-inspector
:slynk/package-fu
:slynk/trace-dialog
:slynk/stickers
:slynk/indentation))))