(canceled-evt bus)
Returns a deferred that will hold a build/canceled
event, should it arrive.
When deferred is realized, we unsubscribe from the bus.
Returns a deferred that will hold a `build/canceled` event, should it arrive. When deferred is realized, we unsubscribe from the bus.
(exec-script! rt)
Loads a script from a directory and executes it. The script is executed in this same process.
Loads a script from a directory and executes it. The script is executed in this same process.
(load-jobs build rt)
Loads the script and resolves the jobs
Loads the script and resolves the jobs
(resolve-jobs p rt)
The build script either returns a list of pipelines, a set of jobs or a function that returns either. This function resolves the jobs by processing the script return value.
The build script either returns a list of pipelines, a set of jobs or a function that returns either. This function resolves the jobs by processing the script return value.
(run-all-jobs {:keys [pipeline events] :as rt} jobs)
Executes all jobs in the set, in dependency order.
Executes all jobs in the set, in dependency order.
Wraps the job so any registered extensions get executed.
Wraps the job so any registered extensions get executed.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close