Hi all,
from now on HelenOS source code passes ccheck[1] without issues (Ccheck looks for cstyle issues and other syntax-level issues). The commands 'make ccheck' and 'make check' will now fail if they find any ccheck issues (and will give you a full listing of the issues). The same goes for Travis CI. As a reminder, you are supposed to run 'make check' before committing a change, it includes ccheck and builds for various configuration profiles. 'make ccheck' can be used to run ccheck alone. The checks implemented by ccheck currently include spacing, indentation and more. There is always room for improvement, especially in the areas covered, I plan to add more checks gradually. One large missing piece is handling of overlong lines (and automatic reformatting). I would also like to remind that you can use 'make ccheck-fix' which will try to automatically fix the issues for you. Ccheck can automatically fix formatting issues, but please be sure to review whether the results are what you expected... Please let me know if you encounter any issues. Cheers, Jiri 1. https://github.com/jxsvoboda/sycek
_______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
