Liking cljdoc? Tell your friends :D

k16.kmono.cp


collect-aliasesclj

(collect-aliases workspace-config packages)

Collect a set of 'active' aliases from the workspace.

This function works by:

  1. Discovering all available package aliases in the workspace and filtering them based on the :package-aliases config from the provided workspace-config.
  2. Merging this set with the aliases defined in the :aliases key on the workspace-config.
  3. Adding the special :kmono/packages alias which contains the base package classpaths.

This function is designed to be used to collect the relevant set of aliases to provide to the clojure flags -A, -M, -T, -X.

Collect a set of 'active' aliases from the workspace.

This function works by:

1) Discovering all available package aliases in the workspace and filtering
them based on the `:package-aliases` config from the provided
`workspace-config`.
2) Merging this set with the aliases defined in the `:aliases` key on the
`workspace-config`.
3) Adding the special `:kmono/packages` alias which contains the base package
classpaths.

This function is designed to be used to collect the relevant set of aliases to
provide to the clojure flags `-A`, `-M`, `-T`, `-X`.
sourceraw docstring

generate-classpath-commandclj

(generate-classpath-command project-root workspace-config packages)

Generate an augmented clojure -Spath command string.

Generate an augmented `clojure -Spath` command string.
sourceraw docstring

resolve-classpathclj

(resolve-classpath project-root workspace-config packages)

Resolve a classpath string for a workspace.

This works by shelling out to clojure -Spath with additional flags generated from analysing the workspace.

See generate-classpath-command for the command construction logic.

Resolve a classpath string for a workspace.

This works by shelling out to `clojure -Spath` with additional flags generated
from analysing the workspace.

See [[generate-classpath-command]] for the command construction logic.
sourceraw docstring

serialize-aliasesclj

(serialize-aliases aliases)

Serialize a given sequence of aliases to a colon delimited string.

Serialize a given sequence of `aliases` to a colon delimited string.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close