Load new math resources in the native Web editor
This commit is contained in:
1 parent
8b6dab8d52
commit
fe86163767
12 files changed
+838
-106
No files matched your search
@@ -50,7 +50,9 @@ pub(super) fn save(
|
||||
files.push(name);
|
||||
}
|
||||
}
|
||||
let entry_name = entry.file_name().expect("the entry has a name").to_str().unwrap();
|
||||
let entry_name = entry
|
||||
.strip_prefix(run)
|
||||
.expect("entry stays in the working copy");
|
||||
let manifest = fs::File::create(staging.join("project.json"))?;
|
||||
serde_json::to_writer_pretty(manifest, &serde_json::json!({
|
||||
"entry": entry_name, "files": files,
|
||||
|
||||
Reference in new issue
Block a user