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 5
 1 file changed, 5 insertions(+)

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