Skip to content

Commit f4fedb1

Browse files
authored
README.md: Add cpplint_modified_files.yml
1 parent 7a371e0 commit f4fedb1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,10 @@ Syntax: cpplint.py [--verbose=#] [--output=emacs|eclipse|vs7|junit]
3131
[--extensions=hpp,cpp,...]
3232
<file> [file] ...
3333
```
34+
35+
### cpplint_modified_files.yml
36+
37+
[cpplint_modified_files.yml](https://github.com/cpplint/GitHub-Action-for-cpplint/blob/master/.github/workflows/cpplint_modified_files.yml) is an __alternative__, standalone GitHub Action that enables a repo to achieve _gradual compliance_ with cpplint by linting (and compiling) only those files that have been added or modified (vs. origin/master).
38+
1. runs cpplint only on those files that have been modified vs. origin/master.
39+
2. compiles with g++ only those files that have been modified vs. origin/master.
40+
3. other optional filepath verifications may be commented out at the end of this file.

0 commit comments

Comments
 (0)