Skip to content

Commit

Permalink
Use modern ASDF style
Browse files Browse the repository at this point in the history
  • Loading branch information
sionescu committed Jul 21, 2015
1 parent 678db1b commit 0a017c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions fiveam.asd
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

(defsystem :fiveam
:author "Edward Marco Baringer <[email protected]>"
:version #.(with-open-file (f (merge-pathnames "version.lisp-expr"
(or *compile-file-pathname*
*load-truename*)))
(read f))
:version (:read-file-form "version.sexp")
:description "A simple regression testing framework"
:license "BSD"
:depends-on (:alexandria)
Expand All @@ -19,13 +16,9 @@
(:file "test" :depends-on ("package" "fixture" "classes"))
(:file "explain" :depends-on ("package" "utils" "check" "classes" "random"))
(:file "suite" :depends-on ("package" "test" "classes"))
(:file "run" :depends-on ("package" "check" "classes" "test" "explain" "suite")))
:in-order-to ((test-op (load-op :fiveam-test)))
:perform (test-op :after (op c)
(funcall (intern (string '#:run!) :it.bese.fiveam)
:it.bese.fiveam)))
(:file "run" :depends-on ("package" "check" "classes" "test" "explain" "suite"))))

(defsystem :fiveam-test
(defsystem :fiveam/test
:author "Edward Marco Baringer <[email protected]>"
:description "FiveAM's own test suite"
:license "BSD"
Expand All @@ -34,6 +27,10 @@
:components ((:file "suite")
(:file "tests" :depends-on ("suite"))))

(defmethod perform ((o test-op) (c (eql (find-system :fiveam))))
(load-system :fiveam/test :force '(:fiveam/test))
(uiop:symbol-call :5am :run! :it.bese.fiveam))

;;;;@include "src/package.lisp"

;;;;@include "t/example.lisp"
File renamed without changes.

0 comments on commit 0a017c2

Please sign in to comment.