mirror of
https://github.com/vale981/lack
synced 2025-03-05 09:21:39 -05:00
Allow lack-component at the last of builder.
This commit is contained in:
parent
3e46375783
commit
2930994eb1
2 changed files with 5 additions and 2 deletions
3
lack.asd
3
lack.asd
|
@ -18,7 +18,8 @@
|
|||
:version "0.1"
|
||||
:author "Eitaro Fukamachi"
|
||||
:license "LLGPL"
|
||||
:depends-on (:lack-util
|
||||
:depends-on (:lack-component
|
||||
:lack-util
|
||||
:bordeaux-threads
|
||||
:alexandria)
|
||||
:components ((:module "src"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
(in-package :cl-user)
|
||||
(defpackage lack.builder
|
||||
(:use :cl)
|
||||
(:import-from :lack.component
|
||||
:to-app)
|
||||
(:import-from :lack.util
|
||||
:find-package-or-load)
|
||||
(:export :builder))
|
||||
|
@ -79,5 +81,5 @@
|
|||
,@(loop for mw in middlewares
|
||||
when mw
|
||||
collect (convert-to-middleware-form mw))))
|
||||
:initial-value ,(car (last app-or-middlewares))
|
||||
:initial-value (to-app ,(car (last app-or-middlewares)))
|
||||
:from-end t)))
|
||||
|
|
Loading…
Add table
Reference in a new issue