irongit

Git hosting and a container registry in one Rust binary (axum + Astro)

irongit/backend/build.rs
7 lines319 BRust
1// rust-embed reads ../frontend/dist while the Embed derive expands, and
2// cargo has no idea those files exist. Without this, a release build happily
3// embeds a stale frontend (including the dev reload script) because nothing
4// in src/ changed.
5fn main() {
6 println!("cargo:rerun-if-changed=../frontend/dist");
7}