(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.
(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!
(make-classpath lib-map
paths
{:keys [classpath-overrides extra-paths] :as 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:
:classpath-overrides - a map of lib to path, where path is used instead of the coord's paths :extra-paths - extra classpath paths to add to the classpath
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: :classpath-overrides - a map of lib to path, where path is used instead of the coord's paths :extra-paths - extra classpath paths to add to the classpath Returns the classpath as a string.
(print-tree lib-map)
Print lib-map tree to the console
Print lib-map tree to the console
(resolve-deps {:keys [deps] :as deps-map} args-map)
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 extra deps to include :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
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 extra deps to include :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 Returns a lib map (map of lib to coordinate chosen).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close