Process execution functions. Executes build scripts in a separate process, using clojure cli tools.
Process execution functions. Executes build scripts in a separate process, using clojure cli tools.
Default configuration for the script runner.
Default configuration for the script runner.
(execute! {:keys [checkout-dir build-id] :as build} rt)Executes the build script located in given directory. This actually runs the
clojure cli with a generated build alias. This expects absolute directories.
Returns a deferred that will hold the process result when it completes.
Executes the build script located in given directory. This actually runs the clojure cli with a generated `build` alias. This expects absolute directories. Returns a deferred that will hold the process result when it completes.
(exit! exit-code)(generate-deps build rt)Generates a string that will be added as a commandline argument
to the clojure process when running the script. Any existing deps.edn
should be used as well.
Generates a string that will be added as a commandline argument to the clojure process when running the script. Any existing `deps.edn` should be used as well.
(rt->config build rt)(run args)(run args env)Run function for when a build task is executed using clojure tools. This function
is run in a child process by the execute! function below. This exits the VM
with a nonzero value on failure.
Run function for when a build task is executed using clojure tools. This function is run in a child process by the `execute!` function below. This exits the VM with a nonzero value on failure.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |