Commit | Line | Data |
---|---|---|
5fc9bcb3 MB |
1 | ;;;; -*- lisp -*- |
2 | ||
8e198a08 MB |
3 | (in-package :cl-user) |
4 | ||
5fc9bcb3 | 5 | (defpackage :parenscript.system |
8e198a08 MB |
6 | (:use :cl :asdf)) |
7 | ||
5fc9bcb3 | 8 | (in-package :parenscript.system) |
8e198a08 | 9 | |
5fc9bcb3 | 10 | (defsystem :parenscript |
c2faa6a0 LC |
11 | :name "parenscript" |
12 | :author "Manuel Odendahl <manuel@bl0rg.net>" | |
3eb7802d | 13 | :maintainer "Vladimir Sedach <vsedach@gmail.com>" |
c2faa6a0 | 14 | :licence "BSD" |
30a9b64a | 15 | :description "Parenscript is a Lispy language that compiles to JavaScript." |
c2faa6a0 LC |
16 | :components ((:static-file "parenscript.asd") |
17 | (:module :src | |
18dd299a VS |
18 | :serial t |
19 | :components ((:file "package") | |
20 | (:file "utils") | |
21 | (:file "namespace") | |
22 | (:file "parse-lambda-list") | |
23 | (:file "compiler") | |
18dd299a VS |
24 | (:file "printer") |
25 | (:file "compilation-interface") | |
4525e3cd | 26 | (:file "special-forms") |
18dd299a | 27 | (:file "deprecated-interface") |
7b65de0b | 28 | (:file "js-dom-symbol-exports") |
18dd299a VS |
29 | ;; standard library |
30 | (:module :lib | |
30a9b64a | 31 | :components ((:file "ps-html") |
e4ee1b86 | 32 | (:file "ps-loop") |
170ee9ab DG |
33 | (:file "ps-macro-lib") |
34 | (:file "ps-dom")) | |
550c36c8 VS |
35 | :depends-on ("compilation-interface")))) |
36 | (:module :runtime | |
37 | :components ((:file "ps-runtime-lib")) | |
38 | :depends-on (:src))) | |
0c804d25 | 39 | :depends-on (:cl-ppcre :anaphora :split-sequence)) |
754b8dbb MB |
40 | |
41 | (defmethod asdf:perform :after ((op asdf:load-op) (system (eql (asdf:find-system :parenscript)))) | |
42 | (pushnew :parenscript cl:*features*)) | |
f1d71c7a | 43 | |
16317044 HH |
44 | (defmethod asdf:perform ((o test-op) (c (eql (find-system :parenscript)))) |
45 | (asdf:operate 'asdf:test-op :parenscript.test)) | |
46 | ||
f1d71c7a | 47 | (defsystem :parenscript.test |
f1d71c7a | 48 | :components ((:module :t |
18dd299a VS |
49 | :serial t |
50 | :components ((:file "test-package") | |
51 | (:file "test") | |
52 | (:file "ref2test") | |
53 | (:file "reference-tests") | |
54 | (:file "ps-tests") | |
55 | (:file "package-system-tests")))) | |
5ffb1eba | 56 | :depends-on (:parenscript :fiveam)) |
16317044 HH |
57 | |
58 | (defmethod asdf:perform ((o test-op) (c (eql (find-system :parenscript.test)))) | |
59 | (asdf:operate 'asdf:load-op :parenscript.test) | |
60 | (funcall (intern (symbol-name :run-tests) | |
171bbab3 | 61 | (find-package :parenscript-test)))) |