2024-05-26 23:38:33 -05:00
|
|
|
|
(require "asdf")
|
|
|
|
|
|
|
|
|
|
(asdf:defsystem "eksd"
|
2024-05-26 17:55:43 -05:00
|
|
|
|
:version "0.11"
|
2024-05-26 17:35:11 -05:00
|
|
|
|
:license "GPLv3"
|
2024-05-26 17:55:43 -05:00
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/eksd"
|
2024-05-26 17:35:11 -05:00
|
|
|
|
:description "For reading files into hex— `xxd`-like with text-tables."
|
|
|
|
|
:depends-on ()
|
2024-05-27 22:49:05 -05:00
|
|
|
|
: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
|
|
|
|
|
2024-05-27 22:38:14 -05:00
|
|
|
|
(asdf:defsystem "eksd/unix"
|
2024-05-26 17:55:43 -05:00
|
|
|
|
:version "0.11"
|
2024-05-26 17:35:11 -05:00
|
|
|
|
:license "GPLv3"
|
2024-05-26 17:55:43 -05:00
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/eksd"
|
2024-05-26 17:35:11 -05:00
|
|
|
|
:description "UNIX terminal front-tend to eksd. `xxd` twin."
|
2024-05-26 23:38:33 -05:00
|
|
|
|
:class asdf:program-system
|
|
|
|
|
:build-operation "program-op"
|
|
|
|
|
:build-pathname "eksd"
|
2024-05-27 22:38:14 -05:00
|
|
|
|
:entry-point "eksd/unix:main"
|
2024-05-26 23:38:33 -05:00
|
|
|
|
:depends-on (:cl-strings :eksd :unix-opts)
|
2024-05-27 22:49:05 -05:00
|
|
|
|
: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-unit2’s 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))")))
|