-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeps.edn
More file actions
35 lines (30 loc) · 1.64 KB
/
Copy pathdeps.edn
File metadata and controls
35 lines (30 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;; jolt-http — a Capra-style HTTP/1.1 server for jolt (Clojure on Chez Scheme).
;; An incremental HTTP/1.1 parser and Ring-shaped handler contract layered over
;; jolt-tcp's jolt.net-backed readiness reactor. Run tests with Jolt v0.8.0
;; or newer and `jolt -M:test`.
;;
;; jolt.net, reached transitively through jolt-tcp, declares the native socket
;; libraries it needs. They must NOT be redeclared at the HTTP layer.
{:paths ["src" "resources"]
:jolt/min-version "0.8.0"
:jolt/aspects
{:library {:id casselc/jolt-http
:version "3ef772262308bbf6039412366ae80690cec348b0"}
:namespaces [jolt.http.protocol]
:manifest "resources/META-INF/jolt/aspects/http-server.edn"}
:deps {io.github.casselc/jolt-tcp
{:git/url "https://github.com/casselc/jolt-tcp.git"
:git/sha "85f67fb76c4c6d392f5dd51821e458d446ebae01"}}
;; jolt-hegel is test-time only (property/stateful generation via libhegel), so
;; it lives in :extra-deps rather than :deps. Pinned to the reviewed public
;; direct-libhegel branch commit. Because the dep is alias-scoped, the installer
;; needs the alias too:
;; `JOLT_CACHE_DIR=.jolt-cache/jolt-hegel-<sha> jolt -A:test -m hegel.install`
;; (the cache is keyed by the pinned SHA so another release cannot reuse its
;; compiled namespaces).
:aliases {:test {:extra-paths ["test"]
:extra-deps {io.github.chucklehead-dev/jolt-hegel
{:git/url "https://github.com/chucklehead-dev/jolt-hegel.git"
:git/sha "bcc4d8da54f51d79044d9ad6bcfb09049f9ac27e"}}
:main-opts ["-m" "jolt.http.server-test"]}}
:tasks {test "jolt -M:test"}}