Skip to content

Commit

Permalink
fixup! Import initial engine in C++ compiled to WASM
Browse files Browse the repository at this point in the history
  • Loading branch information
juztamau5 committed Mar 11, 2024
1 parent d433f9c commit c507d54
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frontend/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
/dist
/node_modules
/pnpm-lock.yaml

# Generated WASM libraries
/public/wasm
3 changes: 3 additions & 0 deletions src/frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
/dist
/node_modules
/yarn-*.log*

# Generated WASM libraries
/public/wasm
3 changes: 3 additions & 0 deletions src/frontend/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
/dist
/node_modules
/pnpm-lock.yaml

# Generated WASM libraries
/public/wasm
3 changes: 3 additions & 0 deletions tools/build-wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ emcmake cmake \
cmake \
--build "${BUILD_DIRECTORY}" \
--target install

# Copy the generated libraries to the public directory
cp -rv "${INSTALL_DIRECTORY}/wasm" "${PROJECT_DIRECTORY}/src/frontend/public"

0 comments on commit c507d54

Please sign in to comment.