Skip to content

Commit

Permalink
chore: Prefix rerun-if-changed with src for grammar files
Browse files Browse the repository at this point in the history
  • Loading branch information
Marwes committed Nov 27, 2017
1 parent 66cdbce commit 52c8c2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parser/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ fn main() {
.use_cargo_dir_conventions()
.process_file("src/grammar.lalrpop")
.unwrap();
println!("cargo:rerun-if-changed=grammar.lalrpop");
println!("cargo:rerun-if-changed=src/grammar.lalrpop");
}
2 changes: 1 addition & 1 deletion vm/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mod build {
.process_file("src/core/grammar.lalrpop")
.unwrap();

println!("cargo:rerun-if-changed=core/grammar.lalrpop");
println!("cargo:rerun-if-changed=src/core/grammar.lalrpop");
}
}

Expand Down

0 comments on commit 52c8c2d

Please sign in to comment.