release
[closure-html.git] / closure-html.asd
blob2bf123a594f179dab03141cdb47137c66fefaff2
1 ;;; -*- Mode: Lisp; Syntax: Common-Lisp; Package: CL-USER; Encoding: utf-8; -*-
3 (defpackage :closure-system (:use #:asdf #:cl))
4 (in-package :closure-system)
6 (defclass closure-source-file (cl-source-file) ())
8 #+sbcl
9 (defmethod perform :around ((o compile-op) (s closure-source-file))
10   ;; shut up already.  Correctness first.
11   (handler-bind ((sb-ext:compiler-note #'muffle-warning))
12     (call-next-method)))
14 ;;; Convenience feature: will stop it from breaking into the debugger
15 ;;; under sbcl for full WARNINGs (better to fix the warnings :-).
16 #+sbcl
17 (defmethod perform :around ((o compile-op) s)
18   (setf (operation-on-failure o) :warn)
19   (call-next-method o s))
21 (asdf:defsystem closure-html
22     :default-component-class closure-source-file
23     :components
24     ((:module src
25               :serial t
26               :components 
27               (;; Early package definitions
28                
29                (:file "defpack")
31                ;; glisp
33                (:module glisp
34                         :pathname "glisp/"
35                         :components ((:file "util")))
37                ;; CLEX and LALR
38                
39                (:module clex
40                         :pathname "util/"
41                         :components
42                         ((:file "clex")))
43                
44                (:module lalr
45                         :pathname "util/"
46                         :components
47                         ((:file "lalr")))
49                ;; Networking stuff
50      
51                (:module net
52                         :pathname "net/"
53                         :components ((:file "mime")))
55                ;; The HTML parser
56      
57                (:module parse
58                         :depends-on (clex lalr)
59                         :components
60                         ((:file "pt")
61                          (:file "sgml-dtd")
62                          (:file "sgml-parse"
63                                 :depends-on ("sgml-dtd" "pt"))
64                          (:file "html-parser"
65                                 :depends-on ("sgml-parse"))
66                          (:file "lhtml"
67                                 :depends-on ("html-parser"))
68                          (:file "unparse"
69                                 :depends-on ("html-parser"))
70                          (:file "documentation"
71                                 :depends-on ("html-parser")))))))
72     :depends-on (:closure-common :flexi-streams))