Merge pull request #2456 from etiktin/update_build_md
Add a comment to build instructions about cpplint
This commit is contained in:
commit
ebfd03570f
3 changed files with 26 additions and 2 deletions
|
@ -106,8 +106,8 @@ Make sure you have installed all the build dependencies.
|
||||||
|
|
||||||
### error while loading shared libraries: libtinfo.so.5
|
### error while loading shared libraries: libtinfo.so.5
|
||||||
|
|
||||||
Prebulit `clang` will try to link to `libtinfo.so.5`. Depending on the host architecture,
|
Prebulit `clang` will try to link to `libtinfo.so.5`. Depending on the host
|
||||||
symlink to appropirate `libncurses`
|
architecture, symlink to appropriate `libncurses`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo ln -s /usr/lib/libncurses.so.5 /usr/lib/libtinfo.so.5
|
$ 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
|
## Tests
|
||||||
|
|
||||||
|
Test your changes confirm to the project coding style using:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ./script/cpplint.py
|
||||||
|
```
|
||||||
|
|
||||||
|
Test functionality using:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./script/test.py
|
$ ./script/test.py
|
||||||
```
|
```
|
||||||
|
|
|
@ -51,6 +51,14 @@ support 32bit OS X in future.
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
|
Test your changes confirm to the project coding style using:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ ./script/cpplint.py
|
||||||
|
```
|
||||||
|
|
||||||
|
Test functionality using:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./script/test.py
|
$ ./script/test.py
|
||||||
```
|
```
|
||||||
|
|
|
@ -67,6 +67,14 @@ The other building steps are exactly the same.
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
|
Test your changes confirm to the project coding style using:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
python script\cpplint.py
|
||||||
|
```
|
||||||
|
|
||||||
|
Test functionality using:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
python script\test.py
|
python script\test.py
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue