Merge pull request #2 from Ferada/punycode
[puri-unicode.git] / puri.asd
1 ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
2 ;;;; Programmer: Kevin Rosenberg
3
4
5 (in-package #:cl-user)
6 (defpackage #:puri-system (:use #:cl #:asdf))
7 (in-package #:puri-system)
8
9
10 (defsystem puri
11   :name "cl-puri"
12   :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
13   :licence "GNU Lesser General Public License"
14   :description "Portable Universal Resource Indentifier Library"
15   :depends-on (#:babel #:idna)
16   :components
17   ((:file "src")))
18
19 (defmethod perform ((o test-op) (c (eql (find-system 'puri))))
20   (oos 'load-op 'puri-tests)
21   (oos 'test-op 'puri-tests))
22
23 (defsystem puri-tests
24     :depends-on (:puri :ptester) 
25     :components
26     ((:file "tests")))
27
28 (defmethod perform ((o test-op) (c (eql (find-system 'puri-tests))))
29   (or (funcall (intern (symbol-name '#:do-tests)
30                        (find-package :puri-tests)))
31       (error "test-op failed")))
32
33 (defmethod operation-done-p ((o test-op) (c (eql (find-system 'puri-tests))))
34   (values nil))