Merge pull request #3139 from zeroclaw-labs/simianastronaut7/build-fix

fix(build): ensure web/dist directory exists at compile time
This commit is contained in:
SimianAstronaut7 2026-03-10 19:38:50 +00:00 committed by GitHub
commit d93d7dab84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
build.rs Normal file
View File

@ -0,0 +1,6 @@
fn main() {
let dir = std::path::Path::new("web/dist");
if !dir.exists() {
std::fs::create_dir_all(dir).expect("failed to create web/dist/");
}
}