Remove dependency on quicklisp (#5)

This commit is contained in:
Anthony Green 2024-12-28 07:41:05 -07:00 committed by GitHub
parent 1151e4adac
commit 90ac8ee8f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,7 @@
#:regex-replace #:regex-replace
#:regex-replace-all) #:regex-replace-all)
(:import-from #:ningle) (:import-from #:ningle)
(:import-from #:trivial-system-loader)
(:export #:pathname->path (:export #:pathname->path
#:path->uri #:path->uri
#:path-package #:path-package
@ -54,7 +55,7 @@
:for path :in (detect-paths system target-dir-path) :for path :in (detect-paths system target-dir-path)
:for uri := (path->uri path) :for uri := (path->uri path)
:for pkg := (path->package path system target-dir-path) :for pkg := (path->package path system target-dir-path)
:do (ql:quickload pkg) :do (load-system pkg)
(if (string= uri "/not-found") (if (string= uri "/not-found")
(let ((handler (find-symbol "HANDLE-NOT-FOUND" pkg))) (let ((handler (find-symbol "HANDLE-NOT-FOUND" pkg)))
(defmethod ningle:not-found ((app ningle:app)) (defmethod ningle:not-found ((app ningle:app))