Update system definitions and package nicknames
This commit is contained in:
parent
6fa9b9e03a
commit
ba1d62ceb2
|
@ -51,21 +51,11 @@
|
||||||
|
|
||||||
;;; Tests
|
;;; Tests
|
||||||
;;; —————————————————————————————————————
|
;;; —————————————————————————————————————
|
||||||
(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")))
|
|
||||||
|
|
||||||
|
|
||||||
(asdf:defsystem "activity-servist/tests/activity-vocabulary"
|
(asdf:defsystem "activity-servist/tests/activity-vocabulary"
|
||||||
:version "0.0"
|
:version "0.0"
|
||||||
:license "AGPLv3"
|
:license "AGPLv3"
|
||||||
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
:author "Jaidyn Ann <jadedctrl@posteo.at>"
|
||||||
: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)
|
:depends-on (:activity-servist/activity-vocabulary :alexandria :lisp-unit2)
|
||||||
:components ((:file "t/activity-vocabulary")))
|
:components ((:file "t/activity-vocabulary")))
|
||||||
|
@ -88,11 +78,11 @@
|
||||||
:description "Tests for all activity-servist subpacakges."
|
:description "Tests for all activity-servist subpacakges."
|
||||||
|
|
||||||
:depends-on (:activity-servist/tests/activity-vocabulary
|
:depends-on (:activity-servist/tests/activity-vocabulary
|
||||||
:activity-servist/tests/json-ld
|
|
||||||
:activity-servist/tests/signatures
|
:activity-servist/tests/signatures
|
||||||
:alexandria :lisp-unit2)
|
:alexandria :lisp-unit2)
|
||||||
:components ((:file "t/t")))
|
:components ((:file "t/t")))
|
||||||
|
|
||||||
|
|
||||||
;; Following method tweaked from lisp-unit2’s documentation:
|
;; Following method tweaked from lisp-unit2’s documentation:
|
||||||
;; https://github.com/AccelerationNet/lisp-unit2/blob/master/README.md#asdf
|
;; https://github.com/AccelerationNet/lisp-unit2/blob/master/README.md#asdf
|
||||||
(defmacro define-asdf-testing (package)
|
(defmacro define-asdf-testing (package)
|
||||||
|
@ -100,6 +90,5 @@
|
||||||
(eval (read-from-string (format nil "(~A:run-with-summary)" ',package)))))
|
(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/activity-vocabulary)
|
||||||
(define-asdf-testing activity-servist/tests/json-ld)
|
|
||||||
(define-asdf-testing activity-servist/tests/signatures)
|
(define-asdf-testing activity-servist/tests/signatures)
|
||||||
(define-asdf-testing activity-servist/tests)
|
(define-asdf-testing activity-servist/tests)
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
(defpackage #:activity-servist/json-ld
|
(defpackage #:activity-servist/json-ld
|
||||||
(:use #:cl)
|
(:use #:cl)
|
||||||
(:nicknames "AS/JSON-LD" "JSON-LD")
|
(:nicknames "AS/JLD" "JSON-LD")
|
||||||
(:export
|
(:export
|
||||||
;; Functions/Macros
|
;; Functions/Macros
|
||||||
#:parse #:define-json-type
|
#:parse #:define-json-type
|
||||||
|
|
2
t/t.lisp
2
t/t.lisp
|
@ -25,7 +25,7 @@
|
||||||
(defun run ()
|
(defun run ()
|
||||||
"Run tests from all activity-servist subpackages."
|
"Run tests from all activity-servist subpackages."
|
||||||
(activity-servist/tests/signatures:run)
|
(activity-servist/tests/signatures:run)
|
||||||
(activity-servist/tests/activity-streams:run))
|
(activity-servist/tests/activity-vocabulary:run))
|
||||||
|
|
||||||
(defun run-with-summary ()
|
(defun run-with-summary ()
|
||||||
"Run tests with summary for all activity-servist subpackages."
|
"Run tests with summary for all activity-servist subpackages."
|
||||||
|
|
Ŝarĝante…
Reference in New Issue