1 ;;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Base: 10; -*-
3 (defsystem "simple-date"
4 :description "Simple date library that can be used with postmodern"
5 :author "Marijn Haverbeke <marijnh@gmail.com>"
6 :maintainer "Sabra Crolleton <sabra.crolleton@gmail.com>"
10 ((:module "simple-date"
11 :components ((:file "package")
12 (:file "simple-date"))))
13 :in-order-to ((test-op (test-op "simple-date/tests"))))
15 (defsystem "simple-date/tests"
16 :depends-on ("fiveam" "simple-date")
18 ((:module "simple-date"
19 :components ((:file "test-package")
21 :perform (test-op (o c)
22 (uiop:symbol-call :fiveam '#:run! :simple-date)))
24 (defsystem "simple-date/postgres-glue"
25 :depends-on ("simple-date" "cl-postgres" "s-sql" "cl-postgres/tests")
27 ((:module "simple-date"
29 ((:file "cl-postgres-glue")))))
32 ;; The definitions below should work, unlike the bogus method they replace;
33 ;; but I recommend instead explicit dependency on simple-date/postgres-glue.
34 (load-system "asdf-system-connections")
35 (defsystem-connection "simple-date/with-postgres"
36 :requires ("simple-date" "cl-postgres")
37 :depends-on ("simple-date/postgres-glue"))