Files
MySensors/.mystools/cppcheck/options.sh
T
Patrick Fallberg 9b630f7d46 Pipeline improvements (#964)
* Fix bug with toll-gate validation against master
* Change cppcheck to not attempt to validate headers directly and
  to run on the entire codebase in the pipeline.
* Support running Arduino test and examples build in parallel
2017-10-29 21:48:39 +01:00

15 lines
579 B
Bash
Executable File

#!/bin/bash
OPTIONS="--quiet \
--error-exitcode=1 \
--force \
--enable=style,information \
-DCPPCHECK \
--language=c++ \
--library=${LIBRARY:-avr} \
--platform="${TOOLCONFIG}"/${PLATFORM:-avr.xml} \
--includes-file="${TOOLCONFIG}"/includes.cfg \
--suppressions-list="${TOOLCONFIG}"/suppressions.cfg"
echo $OPTIONS