feat: make the interpreter as its own crate

This commit is contained in:
Jonathan Kelley committed 2022-02-01 15:44:08 -05:00
1 parent ee67a041d2
commit 527434b9f9
8 files changed
+20 -557

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
use std::{fs::File, io::Write};
fn main() {
// write the interpreter code to a local file
let mut file = File::create("interpreter.js").unwrap();
file.write_all(dioxus_interpreter_js::INTERPRTER_JS.as_bytes())
.unwrap();
}