freebsd / kyua

Port/Package build and test system
https://github.com/freebsd/kyua/wiki
BSD 3-Clause "New" or "Revised" License
149 stars 42 forks source link

Add code linting as Travis job #151

Closed jmmv closed 8 years ago

jmmv commented 8 years ago

It is too easy to make trivial style mistakes like keeping trailing whitespace in the code. This is particularly an issue for pull requests because GitHub does not display such issues in the diff.

We should introduce a minimal check-lint Makefile target that does some simple validation and run that as a Travis job, just like we do for Doxygen.

jmmv commented 8 years ago

Done! There is now a new "style" build in Travis verifying this at push time, and a check-style target to run the verification manually.