#build #rerun #except

rerun_in_except

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

3 releases

Uses new Rust 2021

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

#114 in Build Utils

Download history 89/week @ 2022-07-26 71/week @ 2022-08-02 61/week @ 2022-08-09 45/week @ 2022-08-16 12/week @ 2022-08-23 90/week @ 2022-08-30 58/week @ 2022-09-06 122/week @ 2022-09-13

290 downloads per month

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