2024-06-10 19:28:18 -05:00
|
|
|
|
(require "asdf")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(asdf:defsystem "activitypub-servist"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:description "ActitivyPub federated server framework."
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activitypub-servist"
|
|
|
|
|
|
2024-06-22 17:44:08 -05:00
|
|
|
|
:in-order-to ((test-op (test-op "activitypub/tests")))
|
2024-06-10 19:28:18 -05:00
|
|
|
|
:depends-on ("activitypub-servist/signatures"
|
|
|
|
|
"alexandria" "clack" "dexador"
|
|
|
|
|
"local-time" "purl" "str" "webtentacle" "yason")
|
|
|
|
|
:components ((:file "src/activitypub-servist")))
|
|
|
|
|
|
|
|
|
|
|
2024-06-22 15:07:58 -05:00
|
|
|
|
(asdf:defsystem "activitypub-servist/activity-vocabulary"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:description "AP-S subpackage for handling ActivityVocabulary parsing/encoding."
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activitypub-servist"
|
|
|
|
|
|
2024-06-22 17:44:08 -05:00
|
|
|
|
:in-order-to ((test-op (test-op "activitypub/tests/activity-vocabulary")))
|
2024-06-22 15:07:58 -05:00
|
|
|
|
:depends-on ("alexandria" "closer-mop" "str" "yason")
|
|
|
|
|
:components ((:file "src/activity-vocabulary")))
|
|
|
|
|
|
|
|
|
|
|
2024-06-10 19:28:18 -05:00
|
|
|
|
(asdf:defsystem "activitypub-servist/signatures"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:description "AP-S subpackage for handling HTTP signatures."
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activitypub-servist"
|
|
|
|
|
|
2024-06-22 17:44:08 -05:00
|
|
|
|
:in-order-to ((test-op (test-op "activitypub/tests/signatures")))
|
2024-06-10 22:16:54 -05:00
|
|
|
|
:depends-on ("cl-base64" "flexi-streams" "inferior-shell" "ironclad" "str")
|
2024-06-10 19:28:18 -05:00
|
|
|
|
:components ((:file "src/signatures")))
|
2024-06-10 22:16:54 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;; Tests
|
|
|
|
|
;;; —————————————————————————————————————
|
2024-06-22 15:07:58 -05:00
|
|
|
|
(asdf:defsystem "activitypub-servist/tests/activity-vocabulary"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:description "Tests for the the activitypub-servist/signatures package."
|
|
|
|
|
|
|
|
|
|
:depends-on (:activitypub-servist/activity-vocabulary :alexandria :lisp-unit2)
|
|
|
|
|
:components ((:file "t/activity-vocabulary")))
|
|
|
|
|
|
|
|
|
|
|
2024-06-10 22:16:54 -05:00
|
|
|
|
(asdf:defsystem "activitypub-servist/tests/signatures"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:description "Tests for the the activitypub-servist/signatures package."
|
|
|
|
|
|
|
|
|
|
:depends-on (:activitypub-servist/signatures :lisp-unit2)
|
|
|
|
|
:components ((:file "t/signatures")))
|
|
|
|
|
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
2024-06-22 17:44:08 -05:00
|
|
|
|
(asdf:defsystem "activitypub-servist/tests"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:description "Tests for all activitypub-servist subpacakges."
|
|
|
|
|
|
|
|
|
|
:depends-on (:activitypub-servist/tests/activity-vocabulary
|
|
|
|
|
:activitypub-servist/tests/signatures
|
|
|
|
|
:alexandria :lisp-unit2)
|
|
|
|
|
:components ((:file "t/t")))
|
|
|
|
|
|
2024-06-10 22:16:54 -05:00
|
|
|
|
;; Following method tweaked from lisp-unit2’s documentation:
|
|
|
|
|
;; https://github.com/AccelerationNet/lisp-unit2/blob/master/README.md#asdf
|
2024-06-22 17:44:08 -05:00
|
|
|
|
(defmacro define-asdf-testing (package)
|
|
|
|
|
`(defmethod asdf:perform ((o asdf:test-op) (c (eql (asdf:find-system ',package))))
|
|
|
|
|
(eval (read-from-string (format nil "(~A:run-with-summary)" ',package)))))
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
2024-06-22 17:44:08 -05:00
|
|
|
|
(define-asdf-testing activitypub-servist/tests/activity-vocabulary)
|
|
|
|
|
(define-asdf-testing activitypub-servist/tests/signatures)
|
|
|
|
|
(define-asdf-testing activitypub-servist/tests)
|