r8936: merged classic-tests into tests
[clsql.git] / clsql.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; *************************************************************************
3 ;;;; FILE IDENTIFICATION
4 ;;;;
5 ;;;; Name:     clsql.asd
6 ;;;; Purpose:  System definition for CLSQL-CLASSIC
7 ;;;; Authors:  Marcus Pearce and Kevin M. Rosenberg
8 ;;;; Created:  March 2004
9 ;;;;
10 ;;;; $Id$
11 ;;;;
12 ;;;; CLSQL users are granted the rights to distribute and use this software
13 ;;;; as governed by the terms of the Lisp Lesser GNU Public License
14 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
15 ;;;; *************************************************************************
16
17 (in-package #:cl-user)
18 (defpackage #:clsql-system (:use #:asdf #:cl))
19 (in-package #:clsql-system)
20
21 (defsystem #:clsql
22     :name "CLSQL"
23     :author ""
24     :maintainer ""
25     :version ""
26     :licence ""
27     :description "A high level Common Lisp interface to SQL RDBMS."
28     :long-description "A high level Common Lisp interface to SQL RDBMS
29 based on the Xanalys CommonSQL interface for Lispworks. It depends on
30 the low-level database interfaces provided by CLSQL and includes both
31 a functional and an object oriented interface."
32     :depends-on (clsql-base)
33     :components
34     ((:module sql
35               :components
36               ((:module :package
37                         :pathname ""
38                         :components ((:file "package")
39                                      (:file "kmr-mop" :depends-on ("package"))))
40                (:module :core
41                         :pathname ""
42                         :components ((:file "classes")
43                                      (:file "operations" :depends-on ("classes"))
44                                      (:file "syntax"))
45                         :depends-on (:package))
46                (:module :functional
47                         :pathname ""
48                         :components ((:file "sql")
49                                      (:file "table"))
50                         :depends-on (:core))
51                (:module :object
52                         :pathname ""
53                        :components ((:file "metaclasses")
54                                     (:file "objects" :depends-on ("metaclasses")))
55                        :depends-on (:functional))))))
56      
57
58 (defmethod perform ((o test-op) (c (eql (find-system 'clsql))))
59   (operate 'load-op 'clsql-tests)
60   (operate 'test-op 'clsql-tests :force t))