Skip to content

Commit

Permalink
docs(developer): add linting section and correct command to verify AP…
Browse files Browse the repository at this point in the history
…I changes
  • Loading branch information
BendingBender authored and IgorMinar committed Jan 6, 2017
1 parent 174408b commit d9728d6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ If you happen to modify the public API of Angular, API golden files must be upda
$ gulp public-api:update
```

Note: The command `./test.sh tools` fails when the API doesn't match the golden files.
Note: The command `gulp public-api:enforce` fails when the API doesn't match the golden files. Make sure to rebuild
the project before trying to verify after an API change.
## <a name="clang-format"></a> Formatting your source code
Expand All @@ -146,6 +147,14 @@ You can automatically format your code by running:
$ gulp format
```
## Linting/verifying your source code
You can check that your code is properly formatted and adheres to coding style by running:
``` shell
$ gulp lint
```
## Publishing your own personal snapshot build
You may find that your un-merged change needs some validation from external participants.
Expand Down

0 comments on commit d9728d6

Please sign in to comment.