~ubuntu-branches/ubuntu/wily/cl-csv/wily

« back to all changes in this revision

Viewing changes to cl-csv.asd

  • Committer: Package Import Robot
  • Author(s): Dimitri Fontaine
  • Date: 2014-08-04 19:57:54 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140804195754-vo64b5r1daxwg8ld
Tags: 20140211-1
Quicklisp release update.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;; -*- lisp -*-
 
2
 
 
3
(eval-when (:compile-toplevel :load-toplevel :execute)
 
4
  (unless (find-package :cl-csv.system)
 
5
    (defpackage :cl-csv.system
 
6
        (:use :common-lisp :asdf))))
 
7
 
 
8
(in-package cl-csv.system)
 
9
 
 
10
(defsystem :cl-csv
 
11
  :description "Facilities for reading and writing CSV format files"
 
12
  :licence "BSD"
 
13
  :version "0.1"
 
14
  :components ((:file "packages")
 
15
               (:file "vars")
 
16
               (:file "read-until")
 
17
               (:file "csv"))
 
18
  :depends-on (:iterate :alexandria :cl-interpol))
 
19
 
 
20
(defsystem :cl-csv-test
 
21
  :description "Tests for a library providing a cl-csv class, and useful
 
22
     functionality around this"
 
23
  :licence "BSD"
 
24
  :version "0.1"
 
25
  :components ((:module :tests
 
26
                        :serial t
 
27
                        :components ((:file "csv"))))
 
28
  :depends-on (:cl-csv :lisp-unit2))
 
29
 
 
30
(defmethod asdf:perform ((o asdf:test-op) (c (eql (find-system :cl-csv))))
 
31
  (asdf:oos 'asdf:load-op :cl-csv-test)
 
32
  (let ((*package* (find-package :cl-csv-test)))
 
33
    (eval (read-from-string "(run-all-tests)"))))
 
34
 
 
35
;; Copyright (c) 2011 Russ Tyndall , Acceleration.net http://www.acceleration.net
 
36
;; Copyright (c) 2002-2006, Edward Marco Baringer
 
37
;; All rights reserved.
 
38
;;
 
39
;; Redistribution and use in source and binary forms, with or without
 
40
;; modification, are permitted provided that the following conditions are
 
41
;; met:
 
42
;;
 
43
;;  - Redistributions of source code must retain the above copyright
 
44
;;    notice, this list of conditions and the following disclaimer.
 
45
;;
 
46
;;  - Redistributions in binary form must reproduce the above copyright
 
47
;;    notice, this list of conditions and the following disclaimer in the
 
48
;;    documentation and/or other materials provided with the distribution.
 
49
;;
 
50
;;  - Neither the name of Edward Marco Baringer, nor BESE, nor the names
 
51
;;    of its contributors may be used to endorse or promote products
 
52
;;    derived from this software without specific prior written permission.
 
53
;;
 
54
;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 
55
;; "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 
56
;; LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 
57
;; A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
 
58
;; OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 
59
;; SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 
60
;; LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 
61
;; DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 
62
;; THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 
63
;; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 
64
;; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.