From ba1d62ceb2145d780a2211e6989a728f144c544a Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Sat, 24 Aug 2024 15:36:24 -0500 Subject: [PATCH] Update system definitions and package nicknames --- activity-servist.asd | 15 ++------------- src/json-ld.lisp | 2 +- t/t.lisp | 2 +- 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/activity-servist.asd b/activity-servist.asd index 2df41e9..49b59f6 100644 --- a/activity-servist.asd +++ b/activity-servist.asd @@ -51,21 +51,11 @@ ;;; Tests ;;; ————————————————————————————————————— -(asdf:defsystem "activity-servist/tests/json-ld" - :version "0.0" - :license "AGPLv3" - :author "Jaidyn Ann " - :description "Tests for the the activity-servist/json-ld package." - - :depends-on (:activity-servist/json-ld :alexandria :lisp-unit2) - :components ((:file "t/json-ld"))) - - (asdf:defsystem "activity-servist/tests/activity-vocabulary" :version "0.0" :license "AGPLv3" :author "Jaidyn Ann " - :description "Tests for the the activity-servist/activity-vocabulary package." + :description "Tests the activity-servist/activity-vocabulary package, and indirectly /json-ld." :depends-on (:activity-servist/activity-vocabulary :alexandria :lisp-unit2) :components ((:file "t/activity-vocabulary"))) @@ -88,11 +78,11 @@ :description "Tests for all activity-servist subpacakges." :depends-on (:activity-servist/tests/activity-vocabulary - :activity-servist/tests/json-ld :activity-servist/tests/signatures :alexandria :lisp-unit2) :components ((:file "t/t"))) + ;; Following method tweaked from lisp-unit2’s documentation: ;; https://github.com/AccelerationNet/lisp-unit2/blob/master/README.md#asdf (defmacro define-asdf-testing (package) @@ -100,6 +90,5 @@ (eval (read-from-string (format nil "(~A:run-with-summary)" ',package))))) (define-asdf-testing activity-servist/tests/activity-vocabulary) -(define-asdf-testing activity-servist/tests/json-ld) (define-asdf-testing activity-servist/tests/signatures) (define-asdf-testing activity-servist/tests) diff --git a/src/json-ld.lisp b/src/json-ld.lisp index 00a33c1..8636553 100644 --- a/src/json-ld.lisp +++ b/src/json-ld.lisp @@ -17,7 +17,7 @@ (defpackage #:activity-servist/json-ld (:use #:cl) - (:nicknames "AS/JSON-LD" "JSON-LD") + (:nicknames "AS/JLD" "JSON-LD") (:export ;; Functions/Macros #:parse #:define-json-type diff --git a/t/t.lisp b/t/t.lisp index 405eb0e..bd22108 100644 --- a/t/t.lisp +++ b/t/t.lisp @@ -25,7 +25,7 @@ (defun run () "Run tests from all activity-servist subpackages." (activity-servist/tests/signatures:run) - (activity-servist/tests/activity-streams:run)) + (activity-servist/tests/activity-vocabulary:run)) (defun run-with-summary () "Run tests with summary for all activity-servist subpackages."