Permalink
Browse files

setup the system and the packages

  • Loading branch information...
galdor committed Sep 25, 2011
0 parents commit c1d2a1757271622b35a5648fd721c9b2b61ad9e1
Showing with 69 additions and 0 deletions.
  1. +13 −0 LICENSE
  2. +5 −0 examples/packages.lisp
  3. +5 −0 src/packages.lisp
  4. +3 −0 src/zeromq.lisp
  5. +5 −0 test/packages.lisp
  6. +4 −0 test/suites.lisp
  7. +8 −0 zeromq-examples.asd
  8. +11 −0 zeromq-test.asd
  9. +15 −0 zeromq.asd
13 LICENSE
@@ -0,0 +1,13 @@
+Copyright (c) 2011 Nicolas Martyanoff
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,5 @@
+
+(defpackage :zeromq-examples
+ (:nicknames :zmq-examples)
+ (:use :cl)
+ (:export))
@@ -0,0 +1,5 @@
+
+(defpackage :zeromq
+ (:nicknames :zmq)
+ (:use :cl)
+ (:export))
@@ -0,0 +1,3 @@
+
+(in-package :zeromq)
+
@@ -0,0 +1,5 @@
+
+(defpackage :zeromq-test
+ (:nicknames :zmq-test)
+ (:use :cl :5am)
+ (:export))
@@ -0,0 +1,4 @@
+
+(in-package :zeromq-test)
+
+(def-suite main :description "main test suite")
@@ -0,0 +1,8 @@
+
+(defsystem zeromq-examples
+ :name "zeromq-examples"
+ :author "Nicolas Martyanoff"
+ :license "BSD"
+ :description "Examples for the zeromq binding."
+ :depends-on (:zeromq)
+ :components ((:module "examples" :components ((:file "packages")))))
@@ -0,0 +1,11 @@
+
+(defsystem zeromq-test
+ :name "zeromq-test"
+ :author "Nicolas Martyanoff"
+ :license "BSD"
+ :description "Tests for the zeromq binding."
+ :depends-on (:zeromq :fiveam)
+ :components ((:module "test"
+ :components ((:file "packages")
+ (:file "suites"
+ :depends-on ("packages"))))))
@@ -0,0 +1,15 @@
+
+(defsystem zeromq
+ :name "zeromq"
+ :version "1.0.0"
+ :author "Nicolas Martyanoff"
+ :license "BSD"
+ :description "A binding of the zeromq transport layer."
+ :depends-on (:cffi)
+ :in-order-to ((test-op (load-op zeromq-test)))
+ :components ((:module "src" :components ((:file "packages")
+ (:file "zeromq" :depends-on ("packages"))))))
+
+(defmethod perform ((o asdf:test-op) (c (eql (find-system :zeromq))))
+ (funcall (intern "RUN!" :5am)
+ (intern "MAIN" :zeromq-test)))

0 comments on commit c1d2a17

Please sign in to comment.