(create-basis packages package)
(create-basis packages package opts)
Constructs a basis using clojure.tools.build.api/create-basis
with a
modified set of :libs
.
Any :local/root
kmono dependencies within the basis are replaced with their
respective :mvn/version
coordinate derived from the given packages
map.
These :libs
are then used to generate a correctly referenced pom.xml
when
using clojure.tools.build.api/write-pom
.
Constructs a basis using `clojure.tools.build.api/create-basis` with a modified set of `:libs`. Any `:local/root` kmono dependencies within the basis are replaced with their respective `:mvn/version` coordinate derived from the given `packages` map. These `:libs` are then used to generate a correctly referenced `pom.xml` when using `clojure.tools.build.api/write-pom`.
(for-each-package build-fn packages)
(for-each-package build-fn {:keys [title concurrency ordered]} packages)
Execute a given build-fn
for each package in the given packages
map.
The build-fn
will be called with the project-root var bound to the
subdirectory of the relevant package. This allows using the various API's from
tools.build
under the assumption that all specified paths will be relative
to the package subdirectory.
The build-fn
will be called concurrently (up to max of :concurrency
or
4
) but packages with dependencies will only be executed after each of their
respective dependencies have run.
Execute a given `build-fn` for each package in the given `packages` map. The `build-fn` will be called with the *project-root* var bound to the subdirectory of the relevant package. This allows using the various API's from `tools.build` under the assumption that all specified paths will be relative to the package subdirectory. The `build-fn` will be called concurrently (up to max of `:concurrency` or `4`) but packages with dependencies will only be executed after each of their respective dependencies have run.
(join & paths)
Attempt to join together a given a series of paths.
For example - given (join "/a/b/c" "../d")
return "/a/b/d"
Attempt to join together a given a series of paths. For example - given `(join "/a/b/c" "../d")` return `"/a/b/d"`
(not-published? package)
The inverse of k16.kmono.build/published?
.
The inverse of `k16.kmono.build/published?`.
(published? package)
A filter function designed to be used with k16.kmono.core.graph/filter-by
.
Checks whether a given package has been published to it's maven repository.
The repositories from the packages' :mvn/deps
map will be used to run this
check.
Requires that the package has a :version
set in order to perform a maven
query.
This fn will just return false
if the package :version
is not set.
A filter function designed to be used with `k16.kmono.core.graph/filter-by`. Checks whether a given package has been published to it's maven repository. The repositories from the packages' `:mvn/deps` map will be used to run this check. Requires that the package has a `:version` set in order to perform a maven query. This fn will just return `false` if the package `:version` is not set.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close