mirror-img/mirror-img.asd

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-05-27 23:46:30 -05:00
(require "asdf")
(asdf:defsystem "mirror-img"
2024-05-24 20:58:37 -05:00
:version "0.1"
:license "GPLv3"
:author "Jaidyn Ann <jadedctrl@posteo.at>"
:depends-on (:dexador :lquery :pathname-utils :split-sequence)
2024-05-27 23:46:30 -05:00
:components ((:file "src/mirror-img"))
2024-05-27 23:59:55 -05:00
:in-order-to ((test-op (test-op "mirror-img/tests"))
(build-op (build-op "mirror-img/unix"))))
2024-05-27 23:46:30 -05:00
(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")))
2024-05-27 23:59:55 -05:00
;;; 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)
2024-05-27 23:59:55 -05:00
:components ((:file "t/mirror-img")))
;; Following method tweaked from lisp-unit2s documentation:
2024-05-27 23:59:55 -05:00
;; 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)")))