fix: reduce rebuilding from extraneous files
This commit is contained in:
3
build.rs
3
build.rs
@@ -1,6 +1,9 @@
|
|||||||
use shadow_rs::{BuildPattern, ShadowBuilder};
|
use shadow_rs::{BuildPattern, ShadowBuilder};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
println!("cargo::rerun-if-changed=bot.capnp");
|
||||||
|
println!("cargo::rerun-if-changed=user.capnp");
|
||||||
|
|
||||||
capnpc::CompilerCommand::new()
|
capnpc::CompilerCommand::new()
|
||||||
.file("bot.capnp")
|
.file("bot.capnp")
|
||||||
.file("user.capnp")
|
.file("user.capnp")
|
||||||
|
|||||||
Reference in New Issue
Block a user