]> khamidou — GitHub mirrors - electron.git/commitdiff
Add `$` notation
authorJessica Lord <jlord@github.com>
Tue, 1 Sep 2015 04:10:48 +0000 (21:10 -0700)
committerJessica Lord <jlord@github.com>
Tue, 1 Sep 2015 04:10:48 +0000 (21:10 -0700)
docs/development/build-instructions-windows.md

index 82138008197d9f0d8cf6dd2cd0679fdfa869fbcb..733966f1da69f4d2df81627fb9d563c9c4f552bb 100644 (file)
@@ -27,7 +27,7 @@ building with Visual Studio will come in the future.
 ## Getting the Code
 
 ```powershell
-git clone https://github.com/atom/electron.git
+$ git clone https://github.com/atom/electron.git
 ```
 
 ## Bootstrapping
@@ -37,8 +37,8 @@ the build project files. Notice that we're using `ninja` to build Electron so
 there is no Visual Studio project generated.
 
 ```powershell
-cd electron
-python script\bootstrap.py -v
+$ cd electron
+$ python script\bootstrap.py -v
 ```
 
 ## Building
@@ -46,13 +46,13 @@ python script\bootstrap.py -v
 Build both Release and Debug targets:
 
 ```powershell
-python script\build.py
+$ python script\build.py
 ```
 
 You can also only build the Debug target:
 
 ```powershell
-python script\build.py -c D
+$ python script\build.py -c D
 ```
 
 After building is done, you can find `electron.exe` under `out\D` (debug
@@ -64,7 +64,7 @@ To build for the 64bit target, you need to pass `--target_arch=x64` when running
 the bootstrap script:
 
 ```powershell
-python script\bootstrap.py -v --target_arch=x64
+$ python script\bootstrap.py -v --target_arch=x64
 ```
 
 The other building steps are exactly the same.
@@ -74,13 +74,13 @@ The other building steps are exactly the same.
 Test your changes conform to the project coding style using:
 
 ```powershell
-python script\cpplint.py
+$ python script\cpplint.py
 ```
 
 Test functionality using:
 
 ```powershell
-python script\test.py
+$ python script\test.py
 ```
 
 Tests that include native modules (e.g. `runas`) can't be executed with the
@@ -90,7 +90,7 @@ details), but they will work with the release build.
 To run the tests with the release build use:
 
 ```powershell
-python script\test.py -R
+$ python script\test.py -R
 ```
 
 ## Troubleshooting
@@ -128,8 +128,8 @@ This is caused by a bug when using Cygwin Python and Win32 Node together. The
 solution is to use the Win32 Python to execute the bootstrap script (assuming
 you have installed Python under `C:\Python27`):
 
-```bash
-/cygdrive/c/Python27/python.exe script/bootstrap.py
+```powershell
+$ /cygdrive/c/Python27/python.exe script/bootstrap.py
 ```
 
 ### LNK1181: cannot open input file 'kernel32.lib'
@@ -141,7 +141,7 @@ Try reinstalling 32bit Node.js.
 Simply making that directory [should fix the problem](http://stackoverflow.com/a/25095327/102704):
 
 ```powershell
-mkdir ~\AppData\Roaming\npm
+$ mkdir ~\AppData\Roaming\npm
 ```
 
 ### node-gyp is not recognized as an internal or external command