Closed phoe closed 6 years ago
The problem is that overlord:import
is meant to be used at the top level. The code should look something like this:
(overlord:import my-queries
:from #.(asdf:system-relative-pathname :gateway "install/install.sql")
:as :cl-yesql/postmodern
:binding :all-as-functions)
(defun reload ()
(overlord:build 'my-queries))
Since this wasn't documented, I added a page about it to the wiki.
Thanks!
File in question: https://github.com/phoe/gateway/blob/master/install/install.lisp#L12 Evaluating
(asdf:load-system :gateway :force t)
produces the following compile-time warning:The file works normally when ran. I just want to get rid of that compiler warning.