Skip to content

Commit

Permalink
Minor fixes to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Aug 10, 2024
1 parent 63655f2 commit 6e17b3c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
(symbol-value 'cl-user::environment)
"deploy"))

(deploy:status 1 "Loading target modules")
(when (boundp 'cl-user::modules)
(deploy:status 1 "Loading target modules")
(dolist (module (symbol-value 'cl-user::modules))
(asdf:load-system module)))

Expand Down Expand Up @@ -118,7 +118,7 @@
(terpri out)
(loop (format out "~%~a> " (package-name *package*))
(finish-output out)
(setf - (read in))
(setf - (read in NIL :quit))
(case -
(:quit
(radiance:shutdown)
Expand All @@ -139,7 +139,8 @@
(asdf/system-registry:clear-registered-systems)
;; Primitive repl
(setf *package* (find-package '#:rad-user))
(if (open-stream-p *standard-input*)
(if (and (open-stream-p *standard-input*)
(ignore-errors (read-char-no-hang *standard-input*) T))
(primitive-repl)
(loop while (started-p)
do (sleep 60))))

0 comments on commit 6e17b3c

Please sign in to comment.