Fix compilation errors

This commit is contained in:
Tom Willemse 2013-10-06 13:47:31 +02:00
parent b7d4fe7c21
commit 31f1be23f2
4 changed files with 7 additions and 6 deletions

View file

@ -30,6 +30,6 @@
:serial t
:depends-on (:sqlite)
:components ((:file "package")
(:file "queries")
(:file "clark")
(:file "commands")
(:file "queries")))
(:file "commands")))

View file

@ -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.")

View file

@ -22,6 +22,7 @@
(require 'asdf)
(load "clark.asd")
(asdf:oos 'asdf:load-op 'clark)
(save-lisp-and-die

View file

@ -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