test-asdf.asd 2.1 KB
Newer Older
1
(defpackage :test-asdf-system
2
  (:use :cl :asdf))
3
4
(in-package :test-asdf-system)

5
(defsystem :test-asdf :class package-system)
6
7
8

(defsystem :test-asdf/all
  :version "0"
9
10
  :depends-on ((:version :test-asdf/2 "2")
               :test-asdf/4))
11

12
(defsystem :test-asdf/1
13
14
  :components ((:file "file1" :if-feature :common-lisp)
               (:file "does-not-exist" :if-feature (:not :common-lisp))))
15

16
(defsystem :test-asdf/2
17
  :version "2.2"
18
  :depends-on (:test-asdf/1)
19
20
21
22
  :components ((:module "foo" :pathname ""
                :components ((:module "bar" :pathname ""
                              :components ((:file "file2")))))))

23
(defsystem :test-asdf/4
24
25
26
  :components ((:file "file3")
               (:file "file4" :in-order-to ((load-op (load-op "file3"))
                                            (compile-op (load-op "file3"))))))
27

28
(defsystem :test-asdf/test9-1
29
30
31
32
33
  :version "1.1"
  :components ((:file "file2"))
  :depends-on ((:version :test-asdf/test9-2 "2.0")))

(defsystem :test-asdf/test-module-depend
34
35
36
  :depends-on
  ((:feature :sbcl (:require :sb-posix))
   (:feature :allegro (:require "osi")))
37
  :components
38
39
  ((:file "file1" :if-feature :common-lisp)
   (:file "doesnt-exist" :if-feature (:not :common-lisp))
40
41
42
43
44
45
46
47
   (:module "quux"
    :pathname ""
    :depends-on ("file1")
    :components
    ((:file "file2")
     (:module "file3mod"
      :pathname ""
      :components
48
49
50
51
52
53
      ((:file "file3"
        :in-order-to ((compile-op (feature :common-lisp))))
       (:file "does-not-exist"
        :in-order-to ((compile-op (feature (:not :common-lisp))))))
      :if-component-dep-fails :ignore)))))
       
54
55
56
57
58
59
60

(defsystem :test-asdf/test9-2
  :version "1.0"
  :components ((:file "file1")))

(defsystem :test-asdf/test9-3
  :depends-on ((:version :test-asdf/test9-2 "1.0")))
61
62
63
64
65
66

(defsystem :test-asdf/test-source-directory-1
  :pathname "some/relative/pathname/")

(defsystem :test-asdf/test-source-directory-2
  :pathname "some/relative/pathname/with-file.type")
67
68
69
70
71
72

(defsystem :test-asdf/bundle-1
  :components ((:file "file1") (:file "file3")))

(defsystem :test-asdf/bundle-2
  :depends-on (:test-asdf/bundle-1) :components ((:file "file2")))
Francois-Rene Rideau's avatar
Francois-Rene Rideau committed
73