Liking cljdoc? Tell your friends :D

clojure.tools.deps.alpha


combine-aliasesclj

(combine-aliases deps alias-kws)

Find, read, and combine alias maps identified by alias keywords from a deps configuration into a single args map.

Find, read, and combine alias maps identified by alias keywords from
a deps configuration into a single args map.
sourceraw docstring

lib-locationclj

(lib-location lib coord deps-config)

Find the file path location of where a lib/coord would be located if procured without actually doing the procuring!

Find the file path location of where a lib/coord would be located if procured
without actually doing the procuring!
sourceraw docstring

make-classpathclj

(make-classpath lib-map paths classpath-args)

Takes a lib map, and a set of explicit paths. Extracts the paths for each chosen lib coordinate, and assembles a classpath string using the system path separator. The classpath-args is a map with keys that can be used to modify the classpath building operation:

:extra-paths - extra classpath paths to add to the classpath :classpath-overrides - a map of lib to path, where path is used instead of the coord's paths

Returns the classpath as a string.

Takes a lib map, and a set of explicit paths. Extracts the paths for each chosen
lib coordinate, and assembles a classpath string using the system path separator.
The classpath-args is a map with keys that can be used to modify the classpath
building operation:

  :extra-paths - extra classpath paths to add to the classpath
  :classpath-overrides - a map of lib to path, where path is used instead of the coord's paths

Returns the classpath as a string.
sourceraw docstring

(print-tree lib-map)

Print lib-map tree to the console

Print lib-map tree to the console
sourceraw docstring

resolve-depsclj

(resolve-deps deps-map args-map)
(resolve-deps deps-map args-map settings)

Takes a deps configuration map and resolves the transitive dependency graph from the initial set of deps. args-map is a map with several keys (all optional) that can modify the results of the transitive expansion:

:extra-deps - a map from lib to coord of deps to add to the main deps :override-deps - a map from lib to coord of coord to use instead of those in the graph :default-deps - a map from lib to coord of deps to use if no coord specified

settings is an optional map of settings: :trace - boolean. If true, the returned lib map will have metadata with :trace log :threads - int. If provided, sets the number of concurrent download threads

Returns a lib map (map of lib to coordinate chosen).

Takes a deps configuration map and resolves the transitive dependency graph
from the initial set of deps. args-map is a map with several keys (all
optional) that can modify the results of the transitive expansion:

  :extra-deps - a map from lib to coord of deps to add to the main deps
  :override-deps - a map from lib to coord of coord to use instead of those in the graph
  :default-deps - a map from lib to coord of deps to use if no coord specified

settings is an optional map of settings:
  :trace - boolean. If true, the returned lib map will have metadata with :trace log
  :threads - int. If provided, sets the number of concurrent download threads

Returns a lib map (map of lib to coordinate chosen).
sourceraw docstring

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

× close