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-06-23 12:49:58 -05:00
|
|
|
|
:depends-on ("activity-servist/signatures"
|
2024-06-10 19:28: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-08-21 23:37:11 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/activity-vocabulary"
|
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-08-21 23:37:11 -05:00
|
|
|
|
:depends-on ("activity-servist/json-ld")
|
|
|
|
|
:components ((:file "src/activity-vocabulary")))
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
|
|
|
|
|
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-08-21 23:37:11 -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-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-29 19:11:29 -05:00
|
|
|
|
(asdf:defsystem "activity-servist/tests/json-ld"
|
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
|
|
|
|
:description "Tests for the the activity-servist/json-ld package."
|
|
|
|
|
|
|
|
|
|
:depends-on (:activity-servist/json-ld :alexandria :lisp-unit2)
|
|
|
|
|
:components ((:file "t/json-ld")))
|
|
|
|
|
|
2024-08-21 23:37:11 -05:00
|
|
|
|
|
|
|
|
|
(asdf:defsystem "activity-servist/tests/activity-vocabulary"
|
2024-06-22 15:07:58 -05:00
|
|
|
|
:version "0.0"
|
|
|
|
|
:license "AGPLv3"
|
|
|
|
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
2024-08-21 23:37:11 -05:00
|
|
|
|
:description "Tests for the the activity-servist/activity-vocabulary package."
|
2024-06-22 15:07:58 -05:00
|
|
|
|
|
2024-08-21 23:37:11 -05:00
|
|
|
|
:depends-on (:activity-servist/activity-vocabulary :alexandria :lisp-unit2)
|
|
|
|
|
:components ((:file "t/activity-vocabulary")))
|
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-06-23 12:49:58 -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-08-22 12:07:56 -05:00
|
|
|
|
:depends-on (:activity-servist/tests/activity-vocabulary
|
2024-06-29 19:11:29 -05:00
|
|
|
|
:activity-servist/tests/json-ld
|
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-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-08-21 23:37:11 -05:00
|
|
|
|
(define-asdf-testing activity-servist/tests/activity-vocabulary)
|
2024-06-29 19:11:29 -05:00
|
|
|
|
(define-asdf-testing activity-servist/tests/json-ld)
|
2024-06-23 12:49:58 -05:00
|
|
|
|
(define-asdf-testing activity-servist/tests/signatures)
|
|
|
|
|
(define-asdf-testing activity-servist/tests)
|