Handles job execution and ordering in a build
Handles job execution and ordering in a build
(as-serializable job)
Converts job into something that can be converted to edn
Converts job into something that can be converted to edn
(execute-jobs! jobs rt)
Executes all jobs in dependency order. Returns a deferred that will hold the results of all executed jobs.
Executes all jobs in dependency order. Returns a deferred that will hold the results of all executed jobs.
(filter-jobs pred jobs)
Applies a filter to the given jobs, but includes all dependencies of jobs that match the filter, even though the dependencies themselves may not match it.
Applies a filter to the given jobs, but includes all dependencies of jobs that match the filter, even though the dependencies themselves may not match it.
Base job protocol that is able to execute it, taking the runtime as argument.
Base job protocol that is able to execute it, taking the runtime as argument.
(execute! job rt)
Converts job into something that can be put in an event
Converts job into something that can be put in an event
(label-filter f)
Predicate function that matches a job by its labels
Predicate function that matches a job by its labels
(next-jobs jobs)
Returns a list of next jobs that are eligible for execution. If all jobs are
pending, returns the starting jobs, those that don't have any dependencies.
Otherwise returns all pending jobs that have their dependencies fulfilled.
Returns a list of next jobs that are eligible for execution. If all jobs are pending, returns the starting jobs, those that don't have any dependencies. Otherwise returns all pending jobs that have their dependencies fulfilled.
(resolve-all rt jobs)
Resolves all jobs, removes anything that's not resolvable or not a job.
Resolves all jobs, removes anything that's not resolvable or not a job.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close