prefer sh
to bash
in the docs
This commit is contained in:
parent
c18afc924b
commit
1b0c1842ca
16 changed files with 87 additions and 81 deletions
|
@ -16,7 +16,7 @@ directly.
|
|||
|
||||
An example of installing all dependencies for Electron:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
# Electron's version.
|
||||
export npm_config_target=1.2.3
|
||||
# The architecture of Electron, can be ia32 or x64.
|
||||
|
@ -41,7 +41,7 @@ of downloading headers and building native modules for your app.
|
|||
|
||||
An example of installing `electron-rebuild` and then rebuild modules with it:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
npm install --save-dev electron-rebuild
|
||||
|
||||
# Every time you run "npm install", run this:
|
||||
|
@ -57,7 +57,7 @@ If you are a developer developing a native module and want to test it against
|
|||
Electron, you might want to rebuild the module for Electron manually. You can
|
||||
use `node-gyp` directly to build for Electron:
|
||||
|
||||
```bash
|
||||
```sh
|
||||
cd /path-to-module/
|
||||
HOME=~/.electron-gyp node-gyp rebuild --target=1.2.3 --arch=x64 --dist-url=https://atom.io/download/electron
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue