Separate ciel/repl system: don't include cl-readline and all in base system

This commit is contained in:
vindarel 2021-06-03 15:35:45 +02:00
parent 9bef88b30d
commit d58d599725
2 changed files with 18 additions and 10 deletions

View file

@ -9,10 +9,12 @@ image:
$(LISP) --load build-image.lisp
build:
$(LISP) --load ciel.asd \
$(LISP) --non-interactive \
--load ciel.asd \
--eval '(ql:quickload :swank)' \
--eval '(ql:quickload :ciel)' \
--eval '(asdf:make :ciel)' \
--eval '(ql:quickload :ciel/repl)' \
--eval '(asdf:make :ciel/repl)' \
--eval '(quit)'
serve-docs:

View file

@ -8,7 +8,6 @@
:license "MIT"
:depends-on (
:cl-reexport ;; for us
:cl-readline ;; for the REPL
:cl-ansi-text
:access
@ -106,16 +105,23 @@
;;;
;;; User helpers.
;;;
:lisp-critic
:named-readtables
:clesh
:magic-ed
:clesh ;; shell pass-through
)
:components ((:module "src"
:components
((:file "ciel")
))
(:file "repl")
((:file "ciel"))))
:description "CIEL Is an Extended Lisp.")
(asdf:defsystem "ciel/repl"
:depends-on (:ciel
;; deps
:cl-readline
:lisp-critic ;; it would be nice to integrate it with Slime.
:magic-ed
)
:components ((:file "repl")
(:file "shell-utils")
(:file "repl-utils"))
@ -123,4 +129,4 @@
:build-pathname "ciel-repl"
:entry-point "sbcli::repl"
:description "CIEL Is an Extended Lisp.")
:description "readline REPL for CIEL.")