mirror-img/mirror-img.asd

40 lines
1.3 KiB
Common Lisp
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(require "asdf")
(asdf:defsystem "mirror-img"
:version "0.1"
:license "GPLv3"
:author "Jaidyn Ann <jadedctrl@posteo.at>"
:depends-on (:dexador :lquery :pathname-utils :split-sequence)
:components ((:file "src/mirror-img"))
:in-order-to ((test-op (test-op "mirror-img/tests"))
(build-op (build-op "mirror-img/unix"))))
(asdf:defsystem "mirror-img/unix"
:version "0.1"
:license "GPLv3"
:author "Jaidyn Ann <jadedctrl@posteo.at>"
:class asdf:program-system
:build-operation "program-op"
:build-pathname "mirror-img"
:entry-point "mirror-img/unix:main"
:depends-on (:mirror-img :unix-opts :cl-strings)
:components ((:file "src/unix")))
;;; Tests
;;; —————————————————————————————————————
(asdf:defsystem "mirror-img/tests"
:version "0.1"
:license "GPLv3"
:author "Jaidyn Ann <jadedctrl@posteo.at>"
:description "Tests for the the mirror-img package."
:depends-on (:mirror-img :hunchentoot :lisp-unit2)
:components ((:file "t/mirror-img")))
;; Following method tweaked from lisp-unit2s documentation:
;; https://github.com/AccelerationNet/lisp-unit2/blob/master/README.md#asdf
(defmethod asdf:perform ((o asdf:test-op) (c (eql (asdf:find-system :mirror-img/tests))))
(eval (read-from-string
"(mirror-img/tests:run)")))