Merge pull request #339 from sabracrolleton/master
[postmodern.git] / s-sql.asd
blob3c1f2fa3017d81b7d0cf40117f85612ac3797955
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)
7 (defsystem "s-sql"
8   :description "Lispy DSL for SQL"
9   :author "Marijn Haverbeke <marijnh@gmail.com>"
10   :maintainer "Sabra Crolleton <sabra.crolleton@gmail.com>"
11   :license "zlib"
12   :version "1.33.11"
13   :depends-on ("cl-postgres"
14                "alexandria")
15   :components
16   ((:module "s-sql"
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")
24   :components
25   ((:module "s-sql/tests"
26             :components ((:file "test-package")
27                                            (:file "tests")
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)))