1 ;;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Base: 10; -*-
3 (defpackage :s-sql-system
4 (:use :common-lisp :asdf))
5 (in-package :s-sql-system)
8 :description "Lispy DSL for SQL"
9 :author "Marijn Haverbeke <marijnh@gmail.com>"
10 :maintainer "Sabra Crolleton <sabra.crolleton@gmail.com>"
13 :depends-on ("cl-postgres"
17 :components ((:file "package")
18 (:file "config" :depends-on ("package"))
19 (:file "s-sql" :depends-on ("package" "config")))))
20 :in-order-to ((test-op (test-op "s-sql/tests"))))
22 (defsystem "s-sql/tests"
23 :depends-on ("postmodern" "s-sql" "cl-postgres/tests" "fiveam")
25 ((:module "s-sql/tests"
26 :components ((:file "test-package")
28 (:file "test-arrays" :depends-on ("tests"))
29 (:file "test-intervals" :depends-on ("tests"))
30 (:file "test-tables" :depends-on ("tests"))
31 (:file "test-create-index" :depends-on ("tests")))))
32 :perform (test-op (o c)
33 (uiop:symbol-call :s-sql-tests '#:prompt-connection)
34 (uiop:symbol-call :fiveam '#:run! :s-sql)))