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.
(exit-fn f)
Due to a strange issue with the onExit functionality in java.lang.Process, the
classloaders get messed up and stuff doesn't work in there. So we use a promise
to trigger the on-exit indirectly. This function wraps f
and returns another
function that can be passed safely to the Process onExit.
Due to a strange issue with the onExit functionality in java.lang.Process, the classloaders get messed up and stuff doesn't work in there. So we use a promise to trigger the on-exit indirectly. This function wraps `f` and returns another function that can be passed safely to the Process onExit.
(test! build rt)
Executes any unit tests that have been defined for the build by starting a clojure process with a custom alias for running tests using kaocha.
Executes any unit tests that have been defined for the build by starting a clojure process with a custom alias for running tests using kaocha.
(update-alias deps f & args)
Updates the monkeyci/build alias in the given deps
Updates the monkeyci/build alias in the given deps
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close