File: getopt.asd

package info (click to toggle)
cl-getopt 1.2.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 60 kB
  • ctags: 21
  • sloc: lisp: 167; makefile: 45; sh: 28
file content (44 lines) | stat: -rw-r--r-- 1,251 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Package: getopt-system -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name:          getopt.asd
;;;; Purpose:       ASDF system definition for getopt package
;;;; Programmer:    Kevin M. Rosenberg
;;;; Date Started:  Apr 2000
;;;;
;;;; $Id$
;;;;
;;;; *************************************************************************

(in-package cl-user)
(defpackage getopt-system (:use #:asdf #:cl))
(in-package getopt-system)


(defsystem getopt
    :name "getopt"
    :author "Kevin Rosenberg <kevin@rosenberg.net>"
    :version "1.0"
    :maintainer "Kevin M. Rosenberg <kmr@debian.org>"
    :licence "BSD"

    :components 
    ((:file "package")
     (:file "main" :depends-on ("package"))))

(defmethod perform ((o test-op) (c (eql (find-system 'getopt))))
  (operate 'load-op 'getopt-tests)
  (operate 'test-op 'getopt-tests :force t))


(defsystem getopt-tests
    :depends-on (:ptester :getopt)
    :components
    ((:file "tests")))

(defmethod perform ((o test-op) (c (eql (find-system 'getopt-tests))))
  (or (funcall (intern (symbol-name '#:do-tests)
		       (find-package '#:getopt-tests)))
      (error "test-op failed")))