]> khamidou — GitHub mirrors - electron.git/commitdiff
Add a comment to build instructions about cpplint
authorEran Tiktin <eran.t@mce-sys.com>
Sat, 8 Aug 2015 20:25:27 +0000 (23:25 +0300)
committerEran Tiktin <eran.t@mce-sys.com>
Sat, 8 Aug 2015 20:25:27 +0000 (23:25 +0300)
I added a mention of `cpplint.py` in the build instructions.
The reason, is because it's easy to miss it's existence. Even if you
noticed it's mentioned in `coding-style.md` you might mistakenly think
that `test.py` runs it).

docs/development/build-instructions-linux.md
docs/development/build-instructions-mac.md
docs/development/build-instructions-windows.md

index 3fe3b53c210fa7941be0b0397165f8397161976b..6f4ce4e1468a0cbcc5d84a46db76ebc65896c64b 100644 (file)
@@ -106,8 +106,8 @@ Make sure you have installed all the build dependencies.
 
 ### error while loading shared libraries: libtinfo.so.5
 
-Prebulit `clang` will try to link to `libtinfo.so.5`. Depending on the host architecture,
-symlink to appropirate `libncurses`
+Prebulit `clang` will try to link to `libtinfo.so.5`. Depending on the host
+architecture, symlink to appropriate `libncurses`
 
 ```bash
 $ sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5
@@ -115,6 +115,14 @@ $ sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5
 
 ## Tests
 
+Test your changes confirm to the project coding style using:
+
+```bash
+$ ./script/cpplint.py
+```
+
+Test functionality using:
+
 ```bash
 $ ./script/test.py
 ```
index b0980a2312509dc4253564dced80f5be5d12674a..af59f996f4a5434a7ed3e9c53ff52ed902301894 100644 (file)
@@ -51,6 +51,14 @@ support 32bit OS X in future.
 
 ## Tests
 
+Test your changes confirm to the project coding style using:
+
+```bash
+$ ./script/cpplint.py
+```
+
+Test functionality using:
+
 ```bash
 $ ./script/test.py
 ```
index 7f32b4645eb845af180f30f5512b95623f1fd55e..061011b5a1a427d7576b30036d617a44e0d348eb 100644 (file)
@@ -67,6 +67,14 @@ The other building steps are exactly the same.
 
 ## Tests
 
+Test your changes confirm to the project coding style using:
+
+```powershell
+python script\cpplint.py
+```
+
+Test functionality using:
+
 ```powershell
 python script\test.py
 ```