0.0
The project is in a healthy, maintained state
Pronto runner for cppcheck.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.4.3
~> 12.0
~> 3.4

Runtime

< 12.0.0
 Project Readme

Pronto runner for cppcheck

Pronto runner for cppcheck, command-line tool to check C/C++ files for style issues following Google's C++ style guide. What is Pronto?

Usage

  • gem install pronto-cppcheck
  • pronto run
  • PRONTO_CPPCHECK_OPTS="-j 20 --std=c++17 --enable=warning" pronto run for passing CLI options to cppcheck

Keep in mind PRONTO_CPPCHECK_OPTS is added to the end of existing (--template='{file}:{line},{severity},{id}:{message}' --quiet) options.

Contribution Guidelines

Installation

git clone this repo and cd pronto-cppcheck

Ruby

rbenv install 3.1.0 # or newer
rbenv global 3.1.0 # or make it project specific
gem install bundle
bundle install

Make your changes

git checkout -b <new_feature>
# make your changes
bundle exec rspec
gem build pronto-cppcheck.gemspec
gem install pronto-cppcheck-<current_version>.gem
pronto run --unstaged

Changelog

  • 0.1.0 Initial public version.
  • 0.2.3 Do not enable all checks by default.