Skip to content

Commit

Permalink
added docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Majid committed Mar 23, 2024
1 parent bb8a263 commit f799887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/Make.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit f799887

Please sign in to comment.