#re-run #build #except

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

#26 in #re-run

33 downloads per month

MIT/Apache

7KB
51 lines

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


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())

No runtime deps