Liking cljdoc? Tell your friends :D

skeptic.worker.classpath

Worker launch classpath assembly. Skeptic owns its worker runtime as a coordinate declaration in skeptic.worker.deps/worker-deps; the lein and deps.edn callers each resolve those coordinates through their own build system and hand the resolved jar list (worker-jars) plus the project classpath (project-classpath-entries) to worker-classpath-entries. The result is a single launch classpath string: project-cp first, worker jars second, Skeptic's own skeptic.worker.* source entry tail (so the worker JVM can require its own server namespace at boot).

Worker launch classpath assembly. Skeptic owns its worker runtime as a
coordinate declaration in `skeptic.worker.deps/worker-deps`; the lein and
deps.edn callers each resolve those coordinates through their own build
system and hand the resolved jar list (`worker-jars`) plus the project
classpath (`project-classpath-entries`) to `worker-classpath-entries`.
The result is a single launch classpath string: project-cp first, worker
jars second, Skeptic's own `skeptic.worker.*` source entry tail (so the
worker JVM can require its own server namespace at boot).
raw docstring

worker-classpath-entriesclj

(worker-classpath-entries worker-jars project-classpath-entries)

Assemble the worker JVM launch classpath.

worker-jars is the resolved jar list for Skeptic's :worker declaration (skeptic.worker.deps/worker-deps) — supplied by the caller after asking its own build system to resolve the declaration.

project-classpath-entries is the already-resolved classpath for the project being analyzed.

Returns {:combined <string>}. :combined is (distinct (concat project-cp worker-jars [skeptic-self-entry])) joined by the path-separator. Project-first ordering means the project's pinned versions win on every shared lib via distinct's first-occurrence semantics.

Assemble the worker JVM launch classpath.

`worker-jars` is the resolved jar list for Skeptic's `:worker`
declaration (`skeptic.worker.deps/worker-deps`) — supplied by the caller
after asking its own build system to resolve the declaration.

`project-classpath-entries` is the already-resolved classpath for the
project being analyzed.

Returns `{:combined <string>}`. `:combined` is
`(distinct (concat project-cp worker-jars [skeptic-self-entry]))` joined
by the path-separator. Project-first ordering means the project's pinned
versions win on every shared lib via `distinct`'s first-occurrence
semantics.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close