diff --git a/R/configure.R b/R/configure.R index 8c67d216..4edc2ba1 100644 --- a/R/configure.R +++ b/R/configure.R @@ -49,6 +49,11 @@ hermod_configure <- function(driver, ..., root = NULL) { ##' @param status Fetch a task status. Takes a vector of ids and ##' returns a vector of the same length of statuses. ##' +##' @param provision Provision a library. Works with conan, and must +##' accept `method`, `config`, `path_root` followed by `...` to pass +##' through to `conan::conan_configure`. It is expected this +##' function will trigger running conan to provision a library. +##' ##' @export hermod_driver <- function(configure, submit, status, provision) { structure(list(configure = configure, diff --git a/man/hermod_driver.Rd b/man/hermod_driver.Rd index 7f2d910b..b6764547 100644 --- a/man/hermod_driver.Rd +++ b/man/hermod_driver.Rd @@ -22,6 +22,11 @@ arguments the task id, the configuration, the path to the root.} \item{status}{Fetch a task status. Takes a vector of ids and returns a vector of the same length of statuses.} + +\item{provision}{Provision a library. Works with conan, and must +accept \code{method}, \code{config}, \code{path_root} followed by \code{...} to pass +through to \code{conan::conan_configure}. It is expected this +function will trigger running conan to provision a library.} } \description{ Create a new hermod driver; this is intended to be used from other