File: simple-date.asd

package info (click to toggle)
cl-postmodern 20211113.git9d4332f-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 3,524 kB
  • sloc: lisp: 22,909; sql: 76; makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,292 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
;;;; -*- Mode: LISP; Syntax: Ansi-Common-Lisp; Base: 10; -*-

(defsystem "simple-date"
  :description "Simple date library that can be used with postmodern"
  :author "Marijn Haverbeke <marijnh@gmail.com>"
  :maintainer "Sabra Crolleton <sabra.crolleton@gmail.com>"
  :license "zlib"
  :version "1.31"
  :components
  ((:module "simple-date"
            :components ((:file "package")
			 (:file "simple-date"))))
  :in-order-to ((test-op (test-op "simple-date/tests"))))

(defsystem "simple-date/tests"
  :depends-on ("fiveam" "simple-date")
  :components
  ((:module "simple-date"
            :components ((:file "test-package")
			 (:file "tests"))))
  :perform (test-op (o c)
             (uiop:symbol-call :fiveam '#:run! :simple-date)))

(defsystem "simple-date/postgres-glue"
  :depends-on ("simple-date" "cl-postgres" "cl-postgres/tests")
  :components
  ((:module "simple-date"
            :components
            ((:file "cl-postgres-glue")))))

#|
;; The definitions below should work, unlike the bogus method they replace;
;; but I recommend instead explicit dependency on simple-date/postgres-glue.
(load-system "asdf-system-connections")
(defsystem-connection "simple-date/with-postgres"
  :requires ("simple-date" "cl-postgres")
  :depends-on ("simple-date/postgres-glue"))
|#