feat(bundled-binary): add a test

This commit is contained in:
Edouard Vanbelle
2026-08-29 02:17:02 +02:00
parent e562a3de30
commit 5c956c9bde
8 changed files with 412 additions and 29 deletions
+3 -9
View File
@@ -45,15 +45,9 @@ fn bundled_assets_guard() {
// when cargo's default output is quiet; the panic below turns
// them into a compile-time error so the missing prerequisite
// can't slip past a distracted dev.
println!(
"cargo:warning=`bundled-assets` feature requires static-dist/ at the repo root."
);
println!(
"cargo:warning=Build the SvelteKit SPA first: (cd frontend && npm run build)"
);
println!(
"cargo:warning=Or via the workspace shortcut: just fe-build"
);
println!("cargo:warning=`bundled-assets` feature requires static-dist/ at the repo root.");
println!("cargo:warning=Build the SvelteKit SPA first: (cd frontend && npm run build)");
println!("cargo:warning=Or via the workspace shortcut: just fe-build");
panic!(
"build.rs: missing {}/index.html — see the cargo:warning lines above",
dist.display()