Fix compilation errors
This commit is contained in:
parent
b7d4fe7c21
commit
31f1be23f2
4 changed files with 7 additions and 6 deletions
|
@ -30,6 +30,6 @@
|
||||||
:serial t
|
:serial t
|
||||||
:depends-on (:sqlite)
|
:depends-on (:sqlite)
|
||||||
:components ((:file "package")
|
:components ((:file "package")
|
||||||
|
(:file "queries")
|
||||||
(:file "clark")
|
(:file "clark")
|
||||||
(:file "commands")
|
(:file "commands")))
|
||||||
(:file "queries")))
|
|
||||||
|
|
|
@ -19,10 +19,6 @@
|
||||||
|
|
||||||
(in-package :org.ryuslash.clark)
|
(in-package :org.ryuslash.clark)
|
||||||
|
|
||||||
(defmacro sql (&body body)
|
|
||||||
(apply 'concatenate 'string
|
|
||||||
(mapcar (lambda (itm) (format nil "~A " itm)) body)))
|
|
||||||
|
|
||||||
(defvar *db* nil
|
(defvar *db* nil
|
||||||
"The database connection.")
|
"The database connection.")
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
(require 'asdf)
|
(require 'asdf)
|
||||||
|
|
||||||
|
(load "clark.asd")
|
||||||
(asdf:oos 'asdf:load-op 'clark)
|
(asdf:oos 'asdf:load-op 'clark)
|
||||||
|
|
||||||
(save-lisp-and-die
|
(save-lisp-and-die
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
|
|
||||||
(in-package :org.ryuslash.clark)
|
(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)
|
(defun bookmark-exists-p (url)
|
||||||
"Check if URL can be found in the database."
|
"Check if URL can be found in the database."
|
||||||
(execute-single
|
(execute-single
|
||||||
|
|
Loading…
Reference in a new issue