(directory: &Path, program: S, args: &[&str])
| 66 | } |
| 67 | |
| 68 | fn command_in<S: AsRef<OsStr>>(directory: &Path, program: S, args: &[&str]) -> CommandBuilder { |
| 69 | let mut builder = CommandBuilder::new(program); |
| 70 | builder.args(args); |
| 71 | builder.current_dir(directory); |
| 72 | builder |
| 73 | } |
| 74 | |
| 75 | /// Run a build command, piping its output to the logs, and fail on a non-zero exit status. |
| 76 | async fn run_build_command(builder: CommandBuilder) -> Result<()> { |
no test coverage detected