File: named-readtables.asd

package info (click to toggle)
cl-named-readtables 20201221.gitc5689a4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 216 kB
  • sloc: lisp: 1,731; makefile: 2
file content (54 lines) | stat: -rw-r--r-- 1,888 bytes parent folder | download
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
;;;; -*- mode: Lisp -*-

(in-package :asdf)

(defclass named-readtables-source-file (cl-source-file) ())

#+sbcl
(defmethod perform :around ((o compile-op)
                            (c named-readtables-source-file))
  (let ((sb-ext:*derive-function-types* t))
    (call-next-method)))

(defsystem "named-readtables"
  :description "Library that creates a namespace for named readtable
  akin to the namespace of packages."
  :author "Tobias C. Rittweiler <trittweiler@common-lisp.net>"
  :maintainer "Gábor Melis <mega@retes.hu>"
  :mailto "mega@retes.hu"
  :homepage "http://melisgl.github.io/named-readtables"
  :bug-tracker "https://github.com/melisgl/named-readtables/issues"
  :source-control (:git "https://github.com/melisgl/named-readtables.git")
  :version "0.9"
  :licence "BSD, see LICENSE"
  :default-component-class named-readtables-source-file
  :pathname "src"
  :serial t
  :components ((:file "package")
               (:file "utils")
               (:file "define-api")
               (:file "cruft")
               (:file "named-readtables"))
  :in-order-to ((test-op (test-op "named-readtables/test"))))

(defsystem "named-readtables/test"
  :description "Test suite for the Named-Readtables library."
  :author "Tobias C. Rittweiler <trittweiler@common-lisp.net>"
  :maintainer "Gábor Melis <mega@retes.hu>"
  :mailto "mega@retes.hu"
  :depends-on ("named-readtables")
  :pathname "test"
  :serial t
  :default-component-class named-readtables-source-file
  :components
  ((:file "package")
   (:file "rt")
   (:file "tests"))
  :perform (test-op (o c) (symbol-call :named-readtables-test '#:do-tests)))

;;; MGL-PAX depends on NAMED-READTABLES so we must put documentation
;;; in a separate system in order to be able to use MGL-PAX.
(defsystem "named-readtables/doc"
  :depends-on ("named-readtables" "mgl-pax")
  :pathname "src"
  :components ((:file "doc")))