Updated version to 2.1.
[salza2.git] / salza2.asd
blobbc083393472b5010c6998c06ec98597ed1b48554
1 ;;;
2 ;;; Copyright (c) 2007 Zachary Beane, All Rights Reserved
3 ;;;
4 ;;; Redistribution and use in source and binary forms, with or without
5 ;;; modification, are permitted provided that the following conditions
6 ;;; are met:
7 ;;;
8 ;;;   * Redistributions of source code must retain the above copyright
9 ;;;     notice, this list of conditions and the following disclaimer.
10 ;;;
11 ;;;   * Redistributions in binary form must reproduce the above
12 ;;;     copyright notice, this list of conditions and the following
13 ;;;     disclaimer in the documentation and/or other materials
14 ;;;     provided with the distribution.
15 ;;;
16 ;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED
17 ;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 ;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 ;;; ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20 ;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 ;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
22 ;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 ;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24 ;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25 ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26 ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 ;;;
29 (asdf:defsystem #:salza2
30   :author "Zachary Beane <xach@xach.com>"
31   :license "BSD"
32   :version "2.1"
33   :description "Create compressed data in the ZLIB, DEFLATE, or GZIP
34   data formats"
35   :depends-on ("trivial-gray-streams")
36   :in-order-to ((asdf:test-op (asdf:test-op "salza2/test")))
37   :components ((:file "package")
38                (:file "reset"
39                       :depends-on ("package"))
40                (:file "specials"
41                       :depends-on ("package"))
42                (:file "types"
43                       :depends-on ("package"
44                                    "specials"))
45                (:file "checksum"
46                       :depends-on ("package"
47                                    "reset"))
48                (:file "adler32"
49                       :depends-on ("checksum"
50                                    "types"))
51                (:file "crc32"
52                       :depends-on ("checksum"
53                                    "types"))
54                (:file "chains"
55                       :depends-on ("package"
56                                    "specials"))
57                (:file "bitstream"
58                       :depends-on ("package"
59                                    "specials"
60                                    "reset"))
61                (:file "matches"
62                       :depends-on ("package"
63                                    "types"))
64                (:file "compress"
65                       :depends-on ("types"
66                                    "matches"))
67                (:file "huffman"
68                       :depends-on ("package"))
69                (:file "closures"
70                       :depends-on ("huffman"
71                                    "bitstream"))
72                (:file "compressor"
73                       :depends-on ("package"
74                                    "closures"
75                                    "utilities"
76                                    "specials"
77                                    "bitstream"
78                                    "reset"))
79                (:file "utilities"
80                       :depends-on ("package"))
81                (:file "zlib"
82                       :depends-on ("package"
83                                    "adler32"
84                                    "reset"
85                                    "compressor"))
86                (:file "gzip"
87                       :depends-on ("package"
88                                    "crc32"
89                                    "reset"
90                                    "compressor"))
91                (:file "user"
92                       :depends-on ("package"
93                                    "compressor"
94                                    "zlib"
95                                    "gzip"))
96                (:file "stream"
97                       :depends-on ("package"))))
99 (asdf:defsystem #:salza2/test
100   :author "Zachary Beane <xach@xach.com>"
101   :license "BSD"
102   :version "2.1"
103   :description "Tests for Salza2 system"
104   :depends-on ("salza2" "parachute" "flexi-streams" "chipz")
105   :perform (asdf:test-op (op c)
106                          (unless (eql :passed
107                                       (uiop:symbol-call
108                                        :parachute :status
109                                        (uiop:symbol-call :parachute :test :salza2-test)))
110                            (error "Tests failed")))
111   :pathname "test/"
112   :components ((:file "package")
113                (:file "stream" :depends-on ("package"))))