From f7998874c719624958ac3a6d2202b65cb7b76d19 Mon Sep 17 00:00:00 2001 From: Majid Date: Sat, 23 Mar 2024 12:24:56 -0400 Subject: [PATCH] added docs --- utils/Make.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/Make.js b/utils/Make.js index a2ea38c..007bd3b 100644 --- a/utils/Make.js +++ b/utils/Make.js @@ -48,7 +48,7 @@ fs.mkdirSync(targetDir); console.log([...JSFLAGS, ...srcFiles, ...CFLAGS, ...target].join(' ')); -const cp = spawn('emsdk_env.sh && emcc', [...JSFLAGS, ...srcFiles, ...CFLAGS, ...target], { shell: true }); +const cp = spawn('emcc', [...JSFLAGS, ...srcFiles, ...CFLAGS, ...target], { shell: true }); cp.on('error', ex => {console.log(`stdout:\n${ex}`);}); cp.on('close', code => {console.log(`stdout:\n${code}`);}); cp.stdout.on('data', (data) => {