Skip to main content

run_check

Function run_check 

Source
pub fn run_check(
    repo: &Path,
    reference: &str,
    platform: &str,
    green_exit_code: i32,
) -> Result<Receipt, String>
Expand description

Run the bound reference as a shell command in repo; return a receipt stamped for platform, the current git commit (HEAD), and now (UTC). exit == green_exit_code => green, else red.