diff options
author | Tom Willemse | 2013-10-06 13:47:31 +0200 |
---|---|---|
committer | Tom Willemse | 2013-10-06 13:47:31 +0200 |
commit | 31f1be23f268f8ec6f592ed14bf8e914395e86a0 (patch) | |
tree | e730afe6900549b443bed1c3acba5e9305bdb247 /lisp | |
parent | b7d4fe7c216c961b44c78bbf0965ff9dd10eebee (diff) | |
download | clark-31f1be23f268f8ec6f592ed14bf8e914395e86a0.tar.gz clark-31f1be23f268f8ec6f592ed14bf8e914395e86a0.zip |
Fix compilation errors
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/clark.asd | 4 | ||||
-rw-r--r-- | lisp/clark.lisp | 4 | ||||
-rw-r--r-- | lisp/make-image.lisp | 1 | ||||
-rw-r--r-- | lisp/queries.lisp | 4 |
4 files changed, 7 insertions, 6 deletions
diff --git a/lisp/clark.asd b/lisp/clark.asd index c4bb0ec..f478cab 100644 --- a/lisp/clark.asd +++ b/lisp/clark.asd @@ -30,6 +30,6 @@ :serial t :depends-on (:sqlite) :components ((:file "package") + (:file "queries") (:file "clark") - (:file "commands") - (:file "queries"))) + (:file "commands"))) diff --git a/lisp/clark.lisp b/lisp/clark.lisp index 2156a3b..3b10a6a 100644 --- a/lisp/clark.lisp +++ b/lisp/clark.lisp @@ -19,10 +19,6 @@ (in-package :org.ryuslash.clark) -(defmacro sql (&body body) - (apply 'concatenate 'string - (mapcar (lambda (itm) (format nil "~A " itm)) body))) - (defvar *db* nil "The database connection.") diff --git a/lisp/make-image.lisp b/lisp/make-image.lisp index dab37a4..c0a3b91 100644 --- a/lisp/make-image.lisp +++ b/lisp/make-image.lisp @@ -22,6 +22,7 @@ (require 'asdf) +(load "clark.asd") (asdf:oos 'asdf:load-op 'clark) (save-lisp-and-die diff --git a/lisp/queries.lisp b/lisp/queries.lisp index 2b43b78..b0de420 100644 --- a/lisp/queries.lisp +++ b/lisp/queries.lisp @@ -19,6 +19,10 @@ (in-package :org.ryuslash.clark) +(defmacro sql (&body body) + (apply 'concatenate 'string + (mapcar (lambda (itm) (format nil "~A " itm)) body))) + (defun bookmark-exists-p (url) "Check if URL can be found in the database." (execute-single |