1
0
Fork 0
Browse Source

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.
unstable
Craig Oates 3 years ago
parent
commit
e912fdc73d
  1. 2
      ritherdon-rest.asd
  2. 5
      src/package.lisp

2
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!

5
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.