diff --git a/.github/workflows/examles.yml b/.github/workflows/examles.yml index fd30e95..ddaf5e9 100644 --- a/.github/workflows/examles.yml +++ b/.github/workflows/examles.yml @@ -37,7 +37,7 @@ jobs: run: npm install - name: Compile addon.node - run: npx cmake-js compile -T whisper-addon + run: npx cmake-js compile -T whisper-addon -B Release - name: Download test model run: | diff --git a/examples/addon.node/README.md b/examples/addon.node/README.md index d14dde4..bdb1d25 100644 --- a/examples/addon.node/README.md +++ b/examples/addon.node/README.md @@ -14,14 +14,14 @@ npm install Make sure it is in the project root directory and compiled with make-js. ```shell -npx cmake-js compile -T whisper-addon +npx cmake-js compile -T whisper-addon -B Release ``` For Electron addon and cmake-js options, you can see [cmake-js](https://github.com/cmake-js/cmake-js) and make very few configuration changes. > Such as appointing special cmake path: > ```shell -> npx cmake-js compile -c 'xxx/cmake' -T whisper-addon +> npx cmake-js compile -c 'xxx/cmake' -T whisper-addon -B Release > ``` ## Run