* Using LIBRARY=[avr|gnu] git cppcheck ... will set the command line library= to the value * Using PLATFORM=[avr.xml|unix32.xml] git cppcheck ... will set the command line platform= to the value * Corrected logical if error when bootstapping a pristine repo References #672
13 lines
469 B
Bash
Executable File
13 lines
469 B
Bash
Executable File
#!/bin/bash
|
|
|
|
OPTIONS="--quiet \
|
|
--error-exitcode=1 \
|
|
--force \
|
|
--enable=style,information \
|
|
--library=${LIBRARY:-avr} \
|
|
--platform="${TOOLCONFIG}"/${PLATFORM:-avr.xml} \
|
|
--includes-file="${TOOLCONFIG}"/includes.cfg \
|
|
--suppressions-list="${TOOLCONFIG}"/suppressions.cfg"
|
|
|
|
echo $OPTIONS
|