mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-16 01:05:02 +01:00
build regression checker as well
This commit is contained in:
parent
017e78261b
commit
d5f4d6e8ce
2 changed files with 57 additions and 25 deletions
|
|
@ -1 +1,9 @@
|
|||
fn main() {}
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let root_var =
|
||||
std::env::var("MINIMIZE_RUNTEST_ROOTS").expect("MINIMIZE_RUNTEST_ROOTS env var not found");
|
||||
let roots = root_var.split(",").collect::<Vec<_>>();
|
||||
|
||||
let proj_dir = std::env::current_dir().expect("current dir not found");
|
||||
|
||||
testsuite::ensure_correct_minimization(&proj_dir, roots)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue