1 ;;; -*- Mode: Lisp; package: cl-user; Syntax: Common-lisp; Base: 10 -*-
3 (in-package #:common-lisp-user)
4 (defpackage #:cl-graph-system (:use #:cl #:asdf))
5 (in-package #:cl-graph-system)
7 (unless (find-system 'asdf-system-connections nil)
8 (warn "The CL-Graph system would enjoy having asdf-system-connections
10 http://www.cliki.net/asdf-system-connections for details and download
12 (when (find-system 'asdf-system-connections nil)
13 (operate 'load-op 'asdf-system-connections))
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")
27 :depends-on ("package"))
29 :depends-on ("package"))
31 :depends-on ("api" "macros"))
32 (:file "graph-container"
33 :depends-on ("graph"))
35 :depends-on ("graph"))
36 (:file "graph-metrics"
37 :depends-on ("graph"))
38 (:file "graph-algorithms"
39 :depends-on ("graph"))
41 (:static-file "notes.text")
43 (:module "graphviz" :depends-on ("graph")
44 :components ((:file "graphviz-support")))))
49 :components ((:static-file "index.md"))))))
50 :in-order-to ((test-op (load-op :cl-graph-test)))
51 :perform (test-op :after (op c)
53 (intern (symbol-name '#:run-tests) :lift)
55 :depends-on (:metatilities
59 ;; makes ASDF-Install get this automatically
60 :asdf-system-connections
63 (defmethod operation-done-p
64 ((o test-op) (c (eql (find-system 'cl-graph))))
67 #+asdf-system-connections
68 (asdf:defsystem-connection cl-graph-and-cl-variates
69 :requires (cl-graph cl-variates)
73 ((:file "graph-and-variates")
74 (:file "graph-generation"
75 :depends-on ("graph-and-variates"))))))
77 #+asdf-system-connections
78 (asdf:defsystem-connection cl-graph-and-cl-graphviz
79 :requires (cl-graph cl-graphviz)
85 ((:file "graphviz-support-optional")))))))
87 #+asdf-system-connections
88 (asdf:defsystem-connection cl-graph-and-metacopy
89 :requires (cl-graph metacopy)
92 :components ((:file "copying")))))