Over time I have build a set of linters, checkers and other tools that I find very helpful to use when working with pure C code. This repository contains a basic setup of those tools on a very simple application.
It has the following set up:
- clang-format (Code style)
- clang-tidy (Linter)
- cppcheck (Linter)
- cpplint (Linter)
- gproftools (Heap checker)
- Valgrind (Heap checker)
- Unity (C Unit Testing framework)
It also has a smoke test CI stage that simply runs the executable with a few different args. This is mostly to check that it at least runs and exits properly.
- Fork / clone this repo
- Hack away
All the contents of this repository are released under a MIT No Attribution
License, unless otherwise noted (such as the files under deps/
). See
LICENSE for more details.