Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 92 lines (77 sloc) 3.634 kB
6959781 Import dev version of CL-UNICODE
edi authored
1 ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
c70ca4b @hanshuebner merge release 0.1.3 from weitz.de
hanshuebner authored
2 ;;; $Header: /usr/local/cvsrep/cl-unicode/cl-unicode.asd,v 1.23 2012-05-04 21:17:44 edi Exp $
6959781 Import dev version of CL-UNICODE
edi authored
3
c70ca4b @hanshuebner merge release 0.1.3 from weitz.de
hanshuebner authored
4 ;;; Copyright (c) 2008-2012, Dr. Edmund Weitz. All rights reserved.
6959781 Import dev version of CL-UNICODE
edi authored
5
6 ;;; Redistribution and use in source and binary forms, with or without
7 ;;; modification, are permitted provided that the following conditions
8 ;;; are met:
9
10 ;;; * Redistributions of source code must retain the above copyright
11 ;;; notice, this list of conditions and the following disclaimer.
12
13 ;;; * Redistributions in binary form must reproduce the above
14 ;;; copyright notice, this list of conditions and the following
15 ;;; disclaimer in the documentation and/or other materials
16 ;;; provided with the distribution.
17
18 ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
19 ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 ;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
22 ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
24 ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27 ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30 (in-package :cl-user)
31
32 (defpackage :cl-unicode-asd
33 (:use :cl :asdf))
34
35 (in-package :cl-unicode-asd)
36
37 (defsystem :build-cl-unicode
38 :serial t
39 ;; FLEXI-STREAMS is only needed to /build/ CL-UNICODE
40 :depends-on (:flexi-streams)
41 :components ((:file "packages")
42 (:file "specials")
43 (:file "util")
44 (:module "build"
45 :serial t
46 :components ((:file "util")
47 (:file "char-info")
48 (:file "read")
49 (:file "dump")))))
50
51 (defclass generated-cl-source-file (cl-source-file)
52 ()
53 (:documentation "A subclass of CL-SOURCE-FILE for source files which
54 might have to be generated by loading the BUILD-CL-UNICODE system
55 first."))
56
57 (defmethod perform ((operation compile-op) (component generated-cl-source-file))
58 "A method which makes sure that the files of type
59 GENERATED-CL-SOURCE-FILE actually exist before we try to compile
60 them."
61 (unless (every 'probe-file (input-files operation component))
62 (operate 'load-op :build-cl-unicode))
63 (call-next-method))
64
65 (defsystem :cl-unicode
9ecfbad @hanshuebner release 0.1.4
hanshuebner authored
66 :version "0.1.4"
6959781 Import dev version of CL-UNICODE
edi authored
67 :serial t
9ecfbad @hanshuebner release 0.1.4
hanshuebner authored
68 :description "Portable Unicode Library"
6959781 Import dev version of CL-UNICODE
edi authored
69 :depends-on (:cl-ppcre)
70 :components ((:file "packages")
71 (:file "specials")
72 (:file "util")
73 (:file "conditions")
74 (:generated-cl-source-file "lists")
75 (:generated-cl-source-file "hash-tables")
76 (:file "api")
77 (:generated-cl-source-file "methods")
78 (:file "test-functions")
79 (:file "derived")
80 (:file "alias")))
81
82 (defsystem :cl-unicode-test
83 :depends-on (:cl-unicode)
84 :components ((:module "test"
85 :serial t
86 :components ((:file "packages")
87 (:file "tests")))))
88
89 (defmethod perform ((o test-op) (c (eql (find-system :cl-unicode))))
90 (operate 'load-op :cl-unicode-test)
91 (funcall (intern (symbol-name :run-all-tests) (find-package :cl-unicode-test))))
Something went wrong with that request. Please try again.