index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'build.rs')

-rw-r--r-- build.rs 6
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/build.rs b/build.rs
index 0a7c23a..fe7e164 100644
--- a/build.rs
+++ b/build.rs
@@ -1,5 +1,7 @@
fn main() {
    // Cargo watches this directory recursively; any file added/changed/removed
    // under it triggers a rebuild on the next `cargo build`/`cargo run`.
    // Cargo watches these directories recursively; any file added/changed/removed
    // under them triggers a rebuild on the next `cargo build`/`cargo run`.
    println!("cargo:rerun-if-changed=src");
    println!("cargo:rerun-if-changed=templates");
    println!("cargo:rerun-if-changed=static");
}