| 1 |
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*- |
|---|
| 2 |
;;; $Header: /usr/local/cvsrep/cl-ppcre/cl-ppcre-unicode.asd,v 1.14 2008/07/22 14:19:44 edi Exp $ |
|---|
| 3 |
|
|---|
| 4 |
;;; This ASDF system definition was kindly provided by Marco Baringer. |
|---|
| 5 |
|
|---|
| 6 |
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved. |
|---|
| 7 |
|
|---|
| 8 |
;;; Redistribution and use in source and binary forms, with or without |
|---|
| 9 |
;;; modification, are permitted provided that the following conditions |
|---|
| 10 |
;;; are met: |
|---|
| 11 |
|
|---|
| 12 |
;;; * Redistributions of source code must retain the above copyright |
|---|
| 13 |
;;; notice, this list of conditions and the following disclaimer. |
|---|
| 14 |
|
|---|
| 15 |
;;; * Redistributions in binary form must reproduce the above |
|---|
| 16 |
;;; copyright notice, this list of conditions and the following |
|---|
| 17 |
;;; disclaimer in the documentation and/or other materials |
|---|
| 18 |
;;; provided with the distribution. |
|---|
| 19 |
|
|---|
| 20 |
;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED |
|---|
| 21 |
;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|---|
| 22 |
;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|---|
| 23 |
;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
|---|
| 24 |
;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|---|
| 25 |
;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
|---|
| 26 |
;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
|---|
| 27 |
;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
|---|
| 28 |
;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
|---|
| 29 |
;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
|---|
| 30 |
;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|---|
| 31 |
|
|---|
| 32 |
(in-package :cl-user) |
|---|
| 33 |
|
|---|
| 34 |
(defpackage :cl-ppcre-unicode-asd |
|---|
| 35 |
(:use :cl :asdf)) |
|---|
| 36 |
|
|---|
| 37 |
(in-package :cl-ppcre-unicode-asd) |
|---|
| 38 |
|
|---|
| 39 |
(defsystem :cl-ppcre-unicode |
|---|
| 40 |
:components ((:module "cl-ppcre-unicode" |
|---|
| 41 |
:serial t |
|---|
| 42 |
:components ((:file "packages") |
|---|
| 43 |
(:file "resolver")))) |
|---|
| 44 |
:depends-on (:cl-ppcre :cl-unicode)) |
|---|
| 45 |
|
|---|
| 46 |
(defsystem :cl-ppcre-unicode-test |
|---|
| 47 |
:depends-on (:cl-ppcre-unicode :cl-ppcre-test) |
|---|
| 48 |
:components ((:module "test" |
|---|
| 49 |
:serial t |
|---|
| 50 |
:components ((:file "unicode-tests"))))) |
|---|
| 51 |
|
|---|
| 52 |
(defmethod perform ((o test-op) (c (eql (find-system :cl-ppcre-unicode)))) |
|---|
| 53 |
;; we must load CL-PPCRE explicitly so that the CL-PPCRE-TEST system |
|---|
| 54 |
;; will be found |
|---|
| 55 |
(operate 'load-op :cl-ppcre) |
|---|
| 56 |
(operate 'load-op :cl-ppcre-unicode-test) |
|---|
| 57 |
(funcall (intern (symbol-name :run-all-tests) (find-package :cl-ppcre-test)) |
|---|
| 58 |
:more-tests (intern (symbol-name :unicode-test) (find-package :cl-ppcre-test)))) |
|---|