Skip to content

Commit

Permalink
Resolve comment in brew PR (#1018)
Browse files Browse the repository at this point in the history
Co-authored-by: Hien To <[email protected]>
  • Loading branch information
hiento09 and hientominh authored Aug 15, 2024
1 parent 71ed05e commit 365b6f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions cortex-cpp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
},
"scripts": {
"install": "prebuild-install --runtime napi --backend cmake-js --config Release || yarn rebuild",
"build-deps": "cmake-js configure --directory ./cortex-cpp-deps --out ./build-deps/cortex-cpp-deps --config Release && cmake-js build --directory ./cortex-cpp-deps --out ./build-deps/cortex-cpp-deps --config Release",
"build-deps": "cmake-js configure --directory ./cortex-cpp-deps --out ./build-deps/cortex-cpp-deps --config Release && cmake-js build --directory ./cortex-cpp-deps --out ./build-deps/cortex-cpp-deps --config Release && yarn clean-build-deps",
"clean-build-deps": "run-script-os",
"clean-build-deps:windows": "echo 'No need to clean build-deps on Windows'",
"clean-build-deps:linux": "rm -rf ./build-deps/cortex-cpp-deps && rm -rf ./build/CMakeCache.txt && rm -rf ./build/CMakeFiles && rm -rf ./build/compile_commands.json",
"clean-build-deps:macos": "rm -rf ./build-deps/cortex-cpp-deps && rm -rf ./build/CMakeCache.txt && rm -rf ./build/CMakeFiles && rm -rf ./build/compile_commands.json",
"build": "yarn build-deps && cmake-js configure --config Release && cmake-js build --config Release",
"rebuild": "yarn build-deps && cmake-js rebuild --config Release",
"prebuild": "yarn build-deps && prebuild --runtime napi --backend cmake-js --all --strip --verbose --config Release --include-regex \"\\.(node|exp|lib|so)$\"",
Expand All @@ -28,7 +32,8 @@
},
"devDependencies": {
"@types/node": "^20.14.9",
"typescript": "^5.5.3"
"typescript": "^5.5.3",
"run-script-os": "^1.1.6"
},
"binary": {
"napi_versions": [
Expand Down
2 changes: 1 addition & 1 deletion cortex-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"cli-progress": "^3.12.0",
"cortex-cpp": "0.5.0-40",
"cortex-cpp": "0.5.0-44",
"decompress": "^4.2.1",
"hyllama": "^0.2.2",
"js-yaml": "^4.1.0",
Expand Down

0 comments on commit 365b6f9

Please sign in to comment.