chore(codegen): generate json database in www/data

This commit is contained in:
Rachel Powers
2024-05-28 13:56:22 -07:00
parent 7efcec9194
commit e4167efc20
7 changed files with 62740 additions and 179642 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -39,10 +39,6 @@ prefab_database = [
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
[package.metadata.wasm-pack.profile.dev]
wasm-opt = ['-O']

View File

@@ -28,10 +28,6 @@ wasm-streams = "0.4"
ic10lsp = { git = "https://github.com/Ryex/ic10lsp.git", branch = "wasm" }
# ic10lsp = { path = "../../ic10lsp" }
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
[package.metadata.wasm-pack.profile.dev]
wasm-opt = ['-O']

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -186,7 +186,7 @@ pub fn generate_database(
circuit_holders,
};
let data_path = workspace.join("data");
let data_path = workspace.join("www").join("data");
if !data_path.exists() {
std::fs::create_dir(&data_path)?;
}