sketch out os api, binary stream writer in js, app sleep when no animation, local and universal time
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "src/meta/build_tool.c"
|
||||
#include "src/meta/parser.c"
|
||||
#include "src/meta/serialize.c"
|
||||
|
||||
#include "src/app/app.meta.c"
|
||||
|
||||
void list_files_recursive(sb8_t *sb, s8_t path) {
|
||||
@@ -87,6 +86,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
|
||||
if (wasm_target) {
|
||||
os_copy("../src/app/app_wasm.html", "../package/index.html", os_copy_overwrite);
|
||||
ok = os_systemf(
|
||||
"clang.exe ../src/wasm_app/main.c -o main.wasm"
|
||||
" -Oz -g -I../src"
|
||||
@@ -96,7 +96,6 @@ int main(int argc, char **argv) {
|
||||
" -Wl,-export-dynamic,--allow-undefined,--import-memory,--no-entry,--initial-memory=131072000,--max-memory=4294967296"
|
||||
);
|
||||
os_copy("main.wasm", "../package/main.wasm", os_copy_overwrite);
|
||||
os_copy("../src/app/app_wasm.html", "../package/index.html", os_copy_overwrite);
|
||||
if (ok != 0) return ok;
|
||||
}
|
||||
return ok;
|
||||
|
||||
Reference in New Issue
Block a user