Liking cljdoc? Tell your friends :D

lein-tools-deps.deps


absolute-coordsclj

(absolute-coords coords base-path)

Given a base path and dep coordinates, ensures any paths in the coordinates are absolute relative to the base path.

Given a base path and dep coordinates, ensures any paths in the coordinates
are absolute relative to the base path.
sourceraw docstring

absolute-depsclj

(absolute-deps deps base-path)

Given a base path and deps, ensures that all absolute paths in the deps (including relative deps embedded in aliases) are absolute relative to the base path.

Given a base path and deps, ensures that all absolute paths in the deps
(including relative deps embedded in aliases) are absolute relative to the
base path.
sourceraw docstring

absolute-deps-mapclj

(absolute-deps-map deps-map base-path)

Given a base path and a deps map (a mapping from lib symbol to coordinates), ensures that any relative paths embedded in coordinates are absolute relative to the base path.

Given a base path and a deps map (a mapping from lib symbol to
coordinates), ensures that any relative paths embedded in coordinates are
absolute relative to the base path.
sourceraw docstring

absolute-local-root-coordsclj

(absolute-local-root-coords {:keys [local/root]} base-path)

Given a base path and :local/root coordinates, ensures the specified path is absolute relative to the base path.

Given a base path and :local/root coordinates, ensures the specified path
is absolute relative to the base path.
sourceraw docstring

canonicalise-dep-locsclj

(canonicalise-dep-locs env project-root dep-refs)

Returns a seq of absolute java.io.File given a seq of dep-refs. Any relative dep-refs will be made absolute relative to project-root.

Returns a seq of absolute java.io.File given a seq of dep-refs.  Any
relative dep-refs will be made absolute relative to project-root.
sourceraw docstring

make-dep-loc-lookupclj

(make-dep-loc-lookup {:keys [config-files]})

Returns a function mapping from a loc(ation) keyword (either :install, :user or :project) to a file location. If the value is a string it is returned as is.

Returns a function mapping from a loc(ation)
keyword (either :install, :user or :project) to a file
location.  If the value is a string it is returned as is.
sourceraw docstring

make-depsclj

(make-deps env project)
(make-deps exists?
           read-deps
           env
           {:keys [root] {:keys [config-files]} :lein-tools-deps/config})

Reads and merges all of the deps-ref, returning a single deps map

Reads and merges all of the deps-ref, returning a single deps map
sourceraw docstring

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

× close