Skip to content

Commit

Permalink
chore: make build:wasm script work on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
zzwubd committed Oct 19, 2024
1 parent 5ef29b3 commit 88bb5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"submodule:init": "git submodule update --init",
"submodule:update": "git submodule update --remote",
"cmake": "emcmake cmake -S src/cpp -B build",
"build:wasm": "cmake --build build -j$(($(nproc) - 1))",
"build:wasm": "cmake --build build -j$(($(nproc 2>/dev/null || sysctl -n hw.logicalcpu) - 1))",
"copy:wasm": "copy-files-from-to",
"docs:dev": "conc \"pnpm:docs:preview\" \"typedoc --watch --excludeInternal\"",
"docs:build": "typedoc --excludeInternal",
Expand Down

0 comments on commit 88bb5da

Please sign in to comment.