Added NULL description and added :when option for attribute active
[clinton/lisp-on-lines.git] / lisp-on-lines.asd
dissimilarity index 81%
index cee71e9..f4af77b 100644 (file)
-;;; -*- lisp -*-
-
-(eval-when (:compile-toplevel :load-toplevel :execute)
-  (unless (find-package :coop.tech.systems)
-    (defpackage :coop.tech.systems
-      (:documentation "ASDF System package for meta-model.")
-      (:use :common-lisp :asdf))))
-
-(in-package :coop.tech.systems)
-
-(defsystem :lisp-on-lines
-    :components ((:static-file "lisp-on-lines.asd")
-                (:file "src/packages")
-                (:module :src
-                         :components ((:file "static-presentations")
-                                      (:file "mewa")
-                                      (:file "validation")
-                                      (:file "validation/email-address")
-                                      (:file "lisp-on-lines")
-                                      (:file "presentations")
-                                      (:file "slot-presentations")
-                                      (:file "slot-presentations/date")
-                                      (:file "defdisplay")
-                                      (:file "standard-display")
-                                      (:file "standard-attributes")
-                                      (:file "standard-wrappers")
-                                      (:file "relational-attributes")
-
-                                      (:file "backwards-compat"))
-                         :serial t)
-                (:module :components
-                         :pathname "src/components/"
-                         :components ((:file "range-list")
-                                      (:file "ajax")
-                                      (:file "dojo"))))
-    :serial t
-    :depends-on (:arnesi :ucw :meta-model :split-sequence :contextl :cl-ppcre :cl-fad))
-
-(defsystem :lisp-on-lines.example
-    :components (
-                (:file "reddit-example"))
-
-    :depends-on (:lisp-on-lines))
+;;; -*- lisp -*-
+
+(eval-when (:compile-toplevel :load-toplevel :execute)
+  (unless (find-package :coop.tech.systems)
+    (defpackage :coop.tech.systems
+      (:documentation "ASDF System package for Lisp On Lines")
+      (:use :common-lisp :asdf))))
+
+(in-package :coop.tech.systems)
+
+(defsystem :lisp-on-lines
+  :license 
+  "Copyright (c) 2004-2007 Drew Crampsie
+
+Contains portions of ContextL: 
+Copyright (c) 2005 - 2007 Pascal Costanza
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the \"Software\"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE."
+  :components ((:static-file "lisp-on-lines.asd")
+              
+              (:module :src
+                       :components ((:file "contextl-hacks")
+
+                                    (:file "packages")
+                                    
+                                    (:file "rofl")
+                                    (:file "utilities")
+                                    
+                                    (:file "display")
+                                    
+                                    (:file "attribute")
+                                   
+                                    (:file "description-class")
+                                    (:file "description")
+
+
+
+                                   (:module :standard-descriptions
+                                             :components ((:file "t")
+                                                          (:file "inline")
+                                                          (:file "edit")
+                                                          (:file "symbol")
+                                                          (:file "list")
+                                                          (:file "null")
+                                                          (:file "clos")
+                                                          )
+                                                          
+                                             :serial t))
+                                    
+                                    :serial t))
+  :serial t
+  :depends-on (:contextl :arnesi :alexandria :parse-number
+                        ;;for rofl:
+                        :cl-postgres
+                        :simple-date-postgres
+                        :postmodern ))
+
+
+(defsystem :lisp-on-lines.test
+  :components ((:module :src
+                       :components ((:file "packages-test")
+                                    (:file "description-test")
+                                    (:file "attribute-test")
+                                    (:file "display-test")
+                                    (:file "rofl-test")
+                                    (:module :standard-descriptions
+                                     :components ((:file "edit-test"))
+                                     :serial t)
+                                    (:module :ucw
+                                     :components ((:file "ucw-test"))
+                                     :serial t))
+                       :serial t)
+              (:module :tests
+                       :components ((:module :bug
+                                             :components ((:file "0"))))))
+  :serial t
+
+
+  :depends-on (:lisp-on-lines :lisp-on-lines-ucw :stefil))
+
+
+(if (asdf:find-system :asdf-system-connections nil)
+    (asdf:oos 'asdf:load-op :ucw-system-connections)
+    (#+sbcl sb-int:style-warn #-sbcl warn "UCW suggests asdf-system-connections in order to optionally integrate some other libraries. See http://www.cliki.net/asdf-system-connections for details and download instructions."))