2024-06-10 19:28:18 -05:00
|
|
|
|
(require "asdf")
|
|
|
|
|
|
|
|
|
|
|
2024-06-23 12:49:58 -05:00
|
|
|
|
(asdf:defsystem "activity-servist"
|
2024-06-10 19:28:18 -05:00
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:description "ActitivyPub federated server framework."
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
2024-06-23 12:49:58 -05:00
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activity-servist"
|
2024-06-10 19:28:18 -05:00
|
|
|
|
|
2024-06-22 17:44:08 -05:00
|
|
|
|
:in-order-to ((test-op (test-op "activitypub/tests")))
|
2024-09-05 22:27:37 -05:00
|
|
|
|
:depends-on (:activity-servist/vocab/activity :activity-servist/signatures
|
2024-09-03 12:09:18 -05:00
|
|
|
|
:alexandria :clack :dexador
|
|
|
|
|
:local-time :purl :str :webtentacle :yason)
|
2024-06-23 12:49:58 -05:00
|
|
|
|
:components ((:file "src/activity-servist")))
|
2024-06-10 19:28:18 -05:00
|
|
|
|
|
|
|
|
|
|
2024-09-03 12:09:18 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/vocab"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:description "A-S subpackage providing a standard vocabulary for ActivityPub programs."
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activity-servist"
|
|
|
|
|
|
|
|
|
|
:depends-on (:activity-servist/vocab/activity :activity-servist/vocab/litepub))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(asdf:defsystem "activity-servist/vocab/activity"
|
2024-06-22 15:07:58 -05:00
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
2024-08-21 23:37:11 -05:00
|
|
|
|
:description "A-S subpackage containing ActivityVocabulary class-definitions."
|
2024-06-22 15:07:58 -05:00
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
2024-06-23 12:49:58 -05:00
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activity-servist"
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
2024-09-03 12:09:18 -05:00
|
|
|
|
:depends-on (:activity-servist/json-ld)
|
2024-08-21 23:37:11 -05:00
|
|
|
|
:components ((:file "src/activity-vocabulary")))
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
|
|
|
|
|
2024-09-03 12:09:18 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/vocab/litepub"
|
2024-08-30 08:42:02 -05:00
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:description "A-S subpackage providing an expanded vocabulary."
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activity-servist"
|
|
|
|
|
|
2024-09-03 12:09:18 -05:00
|
|
|
|
:depends-on (:activity-servist/vocab/activity)
|
2024-08-30 08:42:02 -05:00
|
|
|
|
:components ((:file "src/litepub")))
|
|
|
|
|
|
|
|
|
|
|
2024-06-29 19:11:29 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/json-ld"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:description "A fragile and meek JSON-LD parser and encoder."
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activity-servist"
|
|
|
|
|
|
2024-09-03 12:09:18 -05:00
|
|
|
|
:depends-on (:alexandria :dexador :str :yason)
|
2024-06-29 19:11:29 -05:00
|
|
|
|
:components ((:file "src/json-ld")))
|
|
|
|
|
|
|
|
|
|
|
2024-06-23 12:49:58 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/signatures"
|
2024-06-10 19:28:18 -05:00
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
2024-06-23 14:56:19 -05:00
|
|
|
|
:description "A-S subpackage for handling HTTP signatures."
|
2024-06-10 19:28:18 -05:00
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
2024-06-23 12:49:58 -05:00
|
|
|
|
:homepage "https://hak.xwx.moe/jadedctrl/activity-servist"
|
2024-06-10 19:28:18 -05:00
|
|
|
|
|
2024-09-03 12:09:18 -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-09-03 12:09:18 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/tests/vocab/activity"
|
2024-06-22 15:07:58 -05:00
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
2024-09-03 12:09:18 -05:00
|
|
|
|
:description "Tests the activity-servist/vocab/activity package, and indirectly /json-ld."
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
2024-09-03 12:09:18 -05:00
|
|
|
|
:depends-on (:activity-servist/vocab/activity
|
|
|
|
|
:alexandria :lisp-unit2)
|
|
|
|
|
:components ((:file "t/vocab/activity")))
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
|
|
|
|
|
2024-06-23 12:49:58 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/tests/signatures"
|
2024-06-10 22:16:54 -05:00
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
2024-06-23 12:49:58 -05:00
|
|
|
|
:description "Tests for the the activity-servist/signatures package."
|
2024-06-10 22:16:54 -05:00
|
|
|
|
|
2024-09-03 12:09:18 -05:00
|
|
|
|
:depends-on (:activity-servist/signatures
|
|
|
|
|
:lisp-unit2)
|
2024-06-10 22:16:54 -05:00
|
|
|
|
:components ((:file "t/signatures")))
|
|
|
|
|
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
2024-06-23 12:49:58 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/tests"
|
2024-06-22 17:44:08 -05:00
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
2024-06-23 12:49:58 -05:00
|
|
|
|
:description "Tests for all activity-servist subpacakges."
|
2024-06-22 17:44:08 -05:00
|
|
|
|
|
2024-09-03 12:09:18 -05:00
|
|
|
|
:depends-on (:activity-servist/tests/vocab/activity
|
2024-06-23 12:49:58 -05:00
|
|
|
|
:activity-servist/tests/signatures
|
2024-06-22 17:44:08 -05:00
|
|
|
|
:alexandria :lisp-unit2)
|
|
|
|
|
:components ((:file "t/t")))
|
|
|
|
|
|
2024-08-24 15:36:24 -05:00
|
|
|
|
|
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-09-03 12:09:18 -05:00
|
|
|
|
(define-asdf-testing activity-servist/tests/vocab/activity)
|
2024-06-23 12:49:58 -05:00
|
|
|
|
(define-asdf-testing activity-servist/tests/signatures)
|
|
|
|
|
(define-asdf-testing activity-servist/tests)
|