This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include the macros so this runs in CI.
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
(defmacro defroutes body | ||
"This macro takes the elements of a valid set of routes and transforms them | ||
into a series of function heads which comprise the final output, the barista | ||
handler function 'handle/3'." | ||
`(defun handle | ||
,@(lanes.common:compile-routes body))) | ||
|
||
(defun --loaded-barista-route-macros-- () | ||
"This is just a dummy function for display purposes when including from the | ||
REPL (the last function loaded has its name printed in stdout). | ||
This function needs to be the last one in this include." | ||
'ok) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters