From c976d7e65db314844284dbc9c4c52ee4a320d6e2 Mon Sep 17 00:00:00 2001 From: Sebastian Christ Date: Tue, 16 Feb 2021 22:20:54 +0100 Subject: [PATCH] Update system definition This also makes testing "easier", because the test are run after the test system is loaded and test-op on cl-change case now load-op's cl-change-case/test. --- cl-change-case-test.asd | 16 ---------------- cl-change-case.asd | 25 ++++++++++++++++++------- version | 1 + 3 files changed, 19 insertions(+), 23 deletions(-) delete mode 100644 cl-change-case-test.asd create mode 100644 version diff --git a/cl-change-case-test.asd b/cl-change-case-test.asd deleted file mode 100644 index 8397338..0000000 --- a/cl-change-case-test.asd +++ /dev/null @@ -1,16 +0,0 @@ -;;; cl-change-case-test.asd - -(in-package :asdf-user) - -(defsystem #:cl-change-case-test - :author "Sebastian Christ" - :mailto "rudolfo.christ@gmail.com" - :description "Test system of cl-change-case" - :license "LLGPL" - :depends-on (:fiveam - :cl-change-case) - :components ((:module "t" - :components ((:file "cl-change-case")))) - :perform (test-op (op c) - (asdf:clear-system c) - (uiop:symbol-call :5am :run! :cl-change-case))) diff --git a/cl-change-case.asd b/cl-change-case.asd index 2e1e2e3..772f112 100644 --- a/cl-change-case.asd +++ b/cl-change-case.asd @@ -1,17 +1,28 @@ ;;; cl-change-case.asd -(in-package :asdf-user) - -(defsystem #:cl-change-case - :version "0.1.0" +(defsystem "cl-change-case" + :version (:read-file-line "version") :author "Sebastian Christ" :mailto "rudolfo.christ@gmail.com" :license "LLGPL" :source-control (:git "git@github.com:rudolfochrist/cl-change-case.git") :bug-tracker "https://github.com/rudolfochrist/cl-change-case/issues" - :depends-on (:cl-ppcre - :cl-ppcre-unicode) + :depends-on ("cl-ppcre" + "cl-ppcre-unicode") :components ((:module "src" :components ((:file "cl-change-case")))) :description "Convert strings between camelCase, param-case, PascalCase and more" - :in-order-to ((test-op (test-op :cl-change-case-test)))) + :in-order-to ((test-op (load-op cl-change-case/test)))) + + +(defsystem "cl-change-case/test" + :author "Sebastian Christ" + :mailto "rudolfo.christ@gmail.com" + :description "Test system of cl-change-case" + :license "LLGPL" + :depends-on ("fiveam" + "cl-change-case") + :components ((:module "t" + :components ((:file "cl-change-case")))) + :perform (load-op :after (op c) + (uiop:symbol-call :5am :run! :cl-change-case))) diff --git a/version b/version new file mode 100644 index 0000000..24b64c2 --- /dev/null +++ b/version @@ -0,0 +1 @@ +0.2.0.1