-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v10] Remove building native deps from
yarn build-term
(#1108)
Calling `electron-builder install-app-deps` during `yarn build-and-package-term` is unnecessary as `electron-builder build` already does that. The only time where you'd need to run `electron-builder install-app-deps` is when you just cloned the repo and would like to run the dev version of the app without building the prod version.
- Loading branch information
Showing
3 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,10 +13,10 @@ | |
"start": "webpack serve --config webpack.renderer.dev.config.js --progress", | ||
"start-main": "webpack build --config webpack.main.config.js --mode=development --progress --watch", | ||
"start-electron": "electron build/app/dist/main/main.js", | ||
"build": "yarn build-natives && yarn build-main && yarn build-renderer", | ||
"build": "yarn build-main && yarn build-renderer", | ||
"build-main": "webpack build --config webpack.main.config.js --progress --mode=production", | ||
"build-renderer": "webpack build --config webpack.renderer.prod.config.js --progress", | ||
"build-natives": "electron-builder install-app-deps", | ||
"build-native-deps": "electron-builder install-app-deps", | ||
"package": "electron-builder build --publish never -c.extraMetadata.name=teleconnect", | ||
"generate-grpc-shared": "npx -y --target_arch=x64 [email protected] [email protected] -- grpc_tools_node_protoc -I=src/sharedProcess/api/proto --ts_out=service=grpc-node,mode=grpc-js:src/sharedProcess/api/protogen --grpc_out=grpc_js:src/sharedProcess/api/protogen --js_out=import_style=commonjs,binary:src/sharedProcess/api/protogen src/sharedProcess/api/proto/*.proto" | ||
}, | ||
|