Skip to content

Commit

Permalink
Add rerun linter condition for runtime and node
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-otf committed Nov 22, 2024
1 parent c02a586 commit 6df16a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions node/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ fn main() {
generate_cargo_keys();
rerun_if_git_head_changed();

println!("cargo:rerun-if-changed=src");
subtensor_linting::walk_src();
}
1 change: 1 addition & 0 deletions runtime/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ fn main() {
.build();
}

println!("cargo:rerun-if-changed=src");
subtensor_linting::walk_src();
}

0 comments on commit 6df16a7

Please sign in to comment.