Skip to content

Commit

Permalink
fixed build bindings script
Browse files Browse the repository at this point in the history
  • Loading branch information
VicenteVicente committed Oct 25, 2024
1 parent 93efb3e commit eef5c65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/buildEmscripten.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ const command = `emcmake cmake -B${buildDir} -DCMAKE_BUILD_TYPE=Release && cmake
execSync(command, { cwd: REmatchDir, stdio: "inherit" });

// Move the emscripten bindings to src/
fs.rmSync(path.join(srcDir, "rematch-bindings.js"), { force: true });
fs.copyFileSync(path.join(buildDir, "bin/rematch-bindings.js"), path.join(srcDir, "rematch-bindings.js"));

0 comments on commit eef5c65

Please sign in to comment.