irongit
Explore
Docs
Sign in
Register
huncholane
/
irongit
Public
Git hosting and a container registry in one Rust binary (axum + Astro)
Code
Commits
Branches
Tags
main
irongit
/
backend
/
build.rs
7 lines
319 B
Rust
Raw
Download
History
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.
5
fn
main
(
)
{
6
println!
(
"
cargo:rerun-if-changed=../frontend/dist
"
)
;
7
}