From e912fdc73d56b2e9ee9ad3b45cb7c0e94ab69477 Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Wed, 30 Jun 2021 01:38:36 +0100 Subject: [PATCH] add drakma and cl-json packages to project. These packages are for making an HTTP-Request (to Ritherdon REST API) and parse the JSON returned. --- ritherdon-rest.asd | 2 +- src/package.lisp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ritherdon-rest.asd b/ritherdon-rest.asd index 5fc0d4c..ea34390 100644 --- a/ritherdon-rest.asd +++ b/ritherdon-rest.asd @@ -8,6 +8,7 @@ :version "0.0.1" :serial t :in-order-to ((test-op (test-op "ritherdon-rest/tests"))) + :depends-on (:drakma :cl-json) :pathname "src/" :components ((:file "package") (:file "ritherdon-rest"))) @@ -19,7 +20,6 @@ :author "craig@craigoates.net" :license "MIT" :version "0.0.1" - :serial t :depends-on (:ritherdon-rest :fiveam) :perform (test-op (o s) (uiop:symbol-call :fiveam :run! diff --git a/src/package.lisp b/src/package.lisp index ce42963..1c4cfb1 100644 --- a/src/package.lisp +++ b/src/package.lisp @@ -1,4 +1,7 @@ ;;;; package.lisp (defpackage #:ritherdon-rest - (:use #:cl)) + (:use #:cl #:drakma :cl-json) + (:export :parse-request + :decode-json)) ; Part of cl-json, getting errors without + ; it in SLIME.