couple commits

This commit is contained in:
Krzosa Karol
2026-03-20 00:09:50 +01:00
parent bb3859b537
commit 3d91a1f924
17 changed files with 253 additions and 127 deletions

View File

@@ -19,12 +19,22 @@
#include "src/meta/meta_table_format.c"
#include "src/meta/meta_cfiles.c"
s8_t folder_to_create_transcript_for = s8("D:/videos/jblow");
#include "src/app/app.meta.c"
#include "src/ui/ui.meta.c"
#include "src/render/render.meta.c"
#include "src/prototype/prototype.meta.c"
#include "src/testing/testing.meta.c"
b32 run_win32_app_base_target = false;
b32 run_testing_target = false;
b32 run_prototype_dll_target = false;
b32 run_prototype_standalone_target = false;
b32 run_prototype_wasm_target = true;
b32 run_server = false;
void build_testing_target(void) {
if (!cache_code_modified(s8("../src/testing/testing_main.c"), s8("testing.exe"))) {
return;
@@ -102,6 +112,13 @@ void build_prototype_wasm_target(void) {
);
os_copy(s8("main.wasm"), s8("../package/main.wasm"), os_copy_overwrite);
if (ok != 0) exit(ok);
// os_systemf("ssh root@65.21.244.51 rm /website/index.html /website/main.wasm");
// os_systemf("scp ../package/index.html root@65.21.244.51:/website/index.html");
// os_systemf("scp ../package/main.wasm root@65.21.244.51:/website/main.wasm");
os_systemf("ssh root@157.90.144.237 rm /var/www/html/jiang/index.html /var/www/html/jiang/main.wasm");
os_systemf("scp ../package/index.html root@157.90.144.237:/var/www/html/jiang/index.html");
os_systemf("scp ../package/main.wasm root@157.90.144.237:/var/www/html/jiang/main.wasm");
}
}
@@ -151,13 +168,6 @@ int main(int argc, char **argv) {
generate_render_code(&tcx->temp);
generate_testing_code(&tcx->temp);
b32 run_win32_app_base_target = true;
b32 run_testing_target = false;
b32 run_prototype_dll_target = false;
b32 run_prototype_wasm_target = true;
b32 run_prototype_standalone_target = false;
b32 run_server = false;
if (run_server) {
os_systemf("start /D ..\\package ..\\package\\run_server.bat");
}