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") | |
24 | (:file "special-forms") | |
25 | (:file "printer") | |
26 | (:file "compilation-interface") | |
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") |
550c36c8 VS |
33 | (:file "ps-macro-lib")) |
34 | :depends-on ("compilation-interface")))) | |
35 | (:module :runtime | |
36 | :components ((:file "ps-runtime-lib")) | |
37 | :depends-on (:src))) | |
9da682ca | 38 | :depends-on ()) |
754b8dbb MB |
39 | |
40 | (defmethod asdf:perform :after ((op asdf:load-op) (system (eql (asdf:find-system :parenscript)))) | |
41 | (pushnew :parenscript cl:*features*)) | |
f1d71c7a | 42 | |
16317044 HH |
43 | (defmethod asdf:perform ((o test-op) (c (eql (find-system :parenscript)))) |
44 | (asdf:operate 'asdf:test-op :parenscript.test)) | |
45 | ||
f1d71c7a | 46 | (defsystem :parenscript.test |
f1d71c7a | 47 | :components ((:module :t |
18dd299a VS |
48 | :serial t |
49 | :components ((:file "test-package") | |
50 | (:file "test") | |
51 | (:file "ref2test") | |
52 | (:file "reference-tests") | |
53 | (:file "ps-tests") | |
54 | (:file "package-system-tests")))) | |
55 | :depends-on (:parenscript :fiveam :cl-ppcre)) | |
16317044 HH |
56 | |
57 | (defmethod asdf:perform ((o test-op) (c (eql (find-system :parenscript.test)))) | |
58 | (asdf:operate 'asdf:load-op :parenscript.test) | |
59 | (funcall (intern (symbol-name :run-tests) | |
171bbab3 | 60 | (find-package :parenscript-test)))) |