feat(runtime): add portable runtime support

req: push/009 req: push/010 req: push/011
This commit is contained in:
tmk241
2026-08-17 07:59:04 +02:00
parent e4bd6db13a
commit 353174604e
19 changed files with 1018 additions and 347 deletions
+10
View File
@@ -0,0 +1,10 @@
fn main() {
let templates = std::path::PathBuf::from(
std::env::var_os("CARGO_MANIFEST_DIR").expect("Cargo sets CARGO_MANIFEST_DIR"),
)
.join("templates");
hemx_build::app()
.template_dir(templates)
.run()
.expect("compile cloudflare_do hemx surfaces");
}