ebffcf2457b2ac5d05182997095a05b7cffb3a61
[cl-graph.git] / cl-graph.asd
1 ;;; -*- Mode: Lisp; package: cl-user; Syntax: Common-lisp; Base: 10 -*-
2
3 (in-package #:common-lisp-user)
4 (defpackage #:cl-graph-system (:use #:cl #:asdf))
5 (in-package #:cl-graph-system)
6
7 (unless (find-system 'asdf-system-connections nil)
8   (warn "The CL-Graph system would enjoy having asdf-system-connections 
9 around. See 
10 http://www.cliki.net/asdf-system-connections for details and download
11 instructions."))
12 (when (find-system 'asdf-system-connections nil)
13   (operate 'load-op 'asdf-system-connections))
14
15 (defsystem cl-graph
16   :version "0.10.2"
17   :author "Gary Warren King <gwking@metabang.com>"
18   :maintainer "Gary Warren King <gwking@metabang.com>"
19   :licence "MIT Style License"
20   :description "Graph manipulation utilities for Common Lisp"
21   :components ((:static-file "COPYING")
22                (:module 
23                 "dev"
24                 :components 
25                 ((:file "package")
26                  (:file "api"
27                         :depends-on ("package"))
28                  (:file "macros"
29                         :depends-on ("package"))
30                  (:file "graph"
31                         :depends-on ("api" "macros"))
32                  (:file "graph-container"
33                         :depends-on ("graph"))
34                  (:file "graph-matrix"
35                         :depends-on ("graph"))
36                  (:file "graph-algorithms"
37                         :depends-on ("graph"))
38                  (:file "dynamic-classes"
39                         :depends-on ("graph"))
40                  (:static-file "notes.text")
41
42                  (:module "graphviz" :depends-on ("graph")
43                           :components ((:file "graphviz-support")))))
44                (:module 
45                 "website"
46                 :components 
47                 ((:module "source"
48                           :components ((:static-file "index.md"))))))
49   :in-order-to ((test-op (load-op :cl-graph-test)))
50   :perform (test-op :after (op c)
51                     (funcall
52                       (intern (symbol-name '#:run-tests) :lift)
53                       :config :generic))
54   :depends-on ((:version :metatilities-base "0.6.0")
55                (:version :cl-containers "0.12.0")
56                ))
57
58 (defmethod operation-done-p 
59            ((o test-op) (c (eql (find-system 'cl-graph))))
60   (values nil))
61
62 #+asdf-system-connections
63 (asdf:defsystem-connection cl-graph-and-cl-variates
64   :requires (cl-graph cl-variates)
65   :components ((:module 
66                 "dev"
67                 :components
68                 ((:file "graph-and-variates")
69                  (:file "graph-generation"
70                         :depends-on ("graph-and-variates"))))))
71
72 #+asdf-system-connections
73 (asdf:defsystem-connection cl-graph-and-cl-graphviz
74   :requires (cl-graph cl-graphviz)
75   :components ((:module 
76                 "dev"
77                 :components
78                 ((:module "graphviz"
79                           :components
80                           ((:file "graphviz-support-optional")))))))
81
82 #+asdf-system-connections
83 (asdf:defsystem-connection cl-graph-and-metacopy
84   :requires (cl-graph metacopy)
85   :components ((:module 
86                 "dev"
87                 :components ((:file "copying")))))
88
89 #+asdf-system-connections
90 (asdf:defsystem-connection cl-graph-and-cl-mathstats
91   :requires (cl-graph cl-mathstats)
92   :components ((:module 
93                 "dev"
94                 :components
95                 ((:file "graph-metrics")))))
96
97 #+asdf-system-connections
98 (asdf:defsystem-connection cl-graph-and-moptilities
99   :requires (cl-graph moptilities)
100   :components ((:module 
101                 "dev"
102                 :components
103                 ((:file "subgraph-containing")))))
104
105
106
107