Skip to content

Run cpplint only on files that differ from master #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 5, 2019

Conversation

cclauss
Copy link
Member

@cclauss cclauss commented Nov 28, 2019

GitHub Action that enables a repo to achieve gradual compliance with cpplint by linting only those files that have been added or modified (vs. origin/master).

  1. runs cpplint only on those files that have been modified vs. origin/master.
  2. compiles with g++ only those files that have been modified vs. origin/master.
  3. other optional filepath verifications may be commented out at the end of this file.

GitHub Action that runs cpplint only on those files that have been modified vs. origin/master
This allows for gradual compliance with cpplint as only files added or modified are checked.
Other _optional_ filepath verifications are commented out at the end of this file.
@cclauss cclauss merged commit 7a371e0 into master Dec 5, 2019
@cclauss cclauss deleted the cpplint_modified_files branch December 5, 2019 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant