Main API namespace for tools designed to work with project.edn and mj.edn
Main API namespace for tools designed to work with project.edn and mj.edn
Bound to true when --verbose
is specified.
Bound to true when `--verbose` is specified.
(default-jar-name {:keys [jar-type] :as project})
Helper to return the default jar file name.
When the :jar-type key of the project map specifies :uberjar, then the name will be for an uberjar.
Helper to return the default jar file name. When the :jar-type key of the project map specifies :uberjar, then the name will be for an uberjar.
(deps-paths deps aliases)
Helper to return the paths for deps with the given aliases applied.
aliases is a vector of keywords with deps.edn aliases to use.
Returns the :paths value, with :extra-paths from the specified aliases.
Helper to return the paths for deps with the given aliases applied. aliases is a vector of keywords with deps.edn aliases to use. Returns the :paths value, with :extra-paths from the specified aliases.
(error s)
Exit with the given error message. Exits with error code 1,
Exit with the given error message. Exits with error code 1,
Load a map containing the project and the mj config.
Load a map containing the project and the mj config.
(load-config* & [options])
(load-mj* & [options])
(load-project* & [options])
(process args options)
Execute a process.
args is a vector of arguments, the first of which is the program to execute. The arguments are used as strings.
options is a map of options, as specifed in babashka.process/process. Defaults to {:err :inherit}.
Execute a process. args is a vector of arguments, the first of which is the program to execute. The arguments are used as strings. options is a map of options, as specifed in babashka.process/process. Defaults to {:err :inherit}.
(resolve-source {:keys [resolver] :as _options} value)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close