Skip to content
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

[build] Added clang format check to Travis #772

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maxsharabayko
Copy link
Collaborator

@maxsharabayko maxsharabayko commented Jul 26, 2019

  • Update Travis distro from trusty to xenial to support more recent cmake-format
  • Added clang-format file
  • Added a static syntax check of SRT core to Travis pipeline.

Clang Format Style Options

Note: FixNamespaceComments: true requires clang-format version 5+.

Note

Format code:

 find ./srtcore/ -type f \( -name '*.cpp' -o -name '*.h' -o -name '*.hpp' -o -name '*.cpp' \) -print0 | xargs -r0 clang-format -i;

@maxsharabayko maxsharabayko added the Type: Enhancement Indicates new feature requests label Jul 26, 2019
@maxsharabayko maxsharabayko added this to the v.1.3.4 milestone Jul 26, 2019
@maxsharabayko maxsharabayko force-pushed the tools/clang-format branch 5 times, most recently from 997eb61 to a971632 Compare July 29, 2019 11:53
@maxsharabayko maxsharabayko modified the milestones: v1.3.4, v1.4.1 Aug 19, 2019
@ethouris
Copy link
Collaborator

It's too early. We need some less partial work to be done simultaneously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants