Merge pull request #9322 from erik-krogh/fixAutoBuild

QL/RB: fix the QL-for-QL and ruby autobuilders
This commit is contained in:
Erik Krogh Kristensen
2022-07-13 14:39:59 +02:00
committed by GitHub
3 changed files with 9 additions and 15 deletions

View File

@@ -29,9 +29,9 @@ fn main() -> std::io::Result<()> {
.split('\n')
{
if let Some(stripped) = line.strip_prefix("include:") {
cmd.arg("--include").arg(stripped);
cmd.arg("--also-match=".to_owned() + stripped);
} else if let Some(stripped) = line.strip_prefix("exclude:") {
cmd.arg("--exclude").arg(stripped);
cmd.arg("--exclude=".to_owned() + stripped);
}
}
let exit = &cmd.spawn()?.wait()?;