#build-script #rerun #build #except

build rerun_in_except

Rerun build script if files in a directory have changed, excluding listed ones

3 releases

0.1.2 Jul 27, 2022
0.1.1 Jul 27, 2022
0.1.0 Jul 27, 2022

#435 in Build Utils

MIT/Apache

7KB
51 lines

rerun_in_except

Lets you rerun a build script if files in a directory have changed, excluding specific ones that are listed.

Example:

println!("{}", rerun_in_except("./frontend", &["./frontend/node_modules", "./frontend/artifacts"]).unwrap())

lib.rs:

This library lets you rerun a build script if files in a directory have changed, excluding specific ones that are listed

No runtime deps