eksd/eksd.asd

62 lines
2.1 KiB
Plaintext
Raw Permalink Normal View History

(require "asdf")
(asdf:defsystem "eksd"
2024-05-26 17:55:43 -05:00
:version "0.11"
:license "GPLv3"
2024-05-26 17:55:43 -05:00
:author "Jaidyn Ann <jadedctrl@posteo.at>"
:homepage "https://hak.xwx.moe/jadedctrl/eksd"
:description "For reading files into hex— `xxd`-like with text-tables."
:depends-on ()
:components ((:file "src/eksd"))
:in-order-to ((test-op (test-op "eksd/tests"))
(build-op (build-op "eksd/unix"))))
2019-11-18 23:38:26 -06:00
(asdf:defsystem "eksd/unix"
2024-05-26 17:55:43 -05:00
:version "0.11"
:license "GPLv3"
2024-05-26 17:55:43 -05:00
:author "Jaidyn Ann <jadedctrl@posteo.at>"
:homepage "https://hak.xwx.moe/jadedctrl/eksd"
:description "UNIX terminal front-tend to eksd. `xxd` twin."
:class asdf:program-system
:build-operation "program-op"
:build-pathname "eksd"
:entry-point "eksd/unix:main"
:depends-on (:cl-strings :eksd :unix-opts)
:components ((:file "src/unix"))
:in-order-to ((test-op (test-op "eksd/unix/tests"))))
;;; Tests
;;; —————————————————————————————————————
(asdf:defsystem "eksd/tests"
:version "0.11"
:license "GPLv3"
:author "Jaidyn Ann <jadedctrl@posteo.at>"
:homepage "https://hak.xwx.moe/jadedctrl/eksd"
:description "Tests for the the eksd package."
:depends-on (:eksd :lisp-unit2)
:components ((:file "t/eksd")))
(asdf:defsystem "eksd/unix/tests"
:version "0.11"
:license "GPLv3"
:author "Jaidyn Ann <jadedctrl@posteo.at>"
:homepage "https://hak.xwx.moe/jadedctrl/eksd"
:description "Tests for the eksd.unix package."
:depends-on (:eksd/unix :lisp-unit2)
:components ((:file "t/unix")))
;; Following methods borrowed 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 :eksd/tests))))
(eval (read-from-string
"(lisp-unit2:with-summary ()
(lisp-unit2:run-tests :package :eksd/tests))")))
(defmethod asdf:perform ((o asdf:test-op) (c (eql (asdf:find-system :eksd/unix/tests))))
(eval (read-from-string
"(lisp-unit2:with-summary ()
(lisp-unit2:run-tests :package :eksd/unix/tests))")))