MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / run_validate_script

Function run_validate_script

xtask/src/main.rs:9783–9788  ·  view source on GitHub ↗
(mode: &str)

Source from the content-addressed store, hash-verified

9781}
9782
9783fn run_validate_script(mode: &str) -> Result<()> {
9784 let xtask = env::current_exe().context("resolve current xtask executable")?;
9785 let mut command = command_for_host("scripts/validate.sh");
9786 command.arg(mode).env(VALIDATE_XTASK_ENV, xtask);
9787 run_command(&mut command)
9788}
9789
9790fn command_for_host(command: &str) -> Command {
9791 if cfg!(windows)

Callers 1

run_asset_smoke_testsFunction · 0.85

Calls 3

command_for_hostFunction · 0.85
run_commandFunction · 0.85
argMethod · 0.80

Tested by

no test coverage detected