Revert "Rename .tools to .mystools for Arduino IDE" (#687)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?xml version="1"?>
|
||||
<platform>
|
||||
<char_bit>8</char_bit>
|
||||
<default-sign>signed</default-sign>
|
||||
<sizeof>
|
||||
<short>2</short>
|
||||
<int>2</int>
|
||||
<long>4</long>
|
||||
<long-long>8</long-long>
|
||||
<float>4</float>
|
||||
<double>4</double>
|
||||
<long-double>8</long-double>
|
||||
<pointer>2</pointer>
|
||||
<size_t>2</size_t>
|
||||
<wchar_t>2</wchar_t>
|
||||
</sizeof>
|
||||
</platform>
|
||||
@@ -0,0 +1,4 @@
|
||||
.
|
||||
drivers/Linux
|
||||
drivers/AES
|
||||
drivers/RPi
|
||||
@@ -0,0 +1,5 @@
|
||||
toomanyconfigs
|
||||
missingInclude
|
||||
missingIncludeSystem
|
||||
ConfigurationNotChecked
|
||||
unmatchedSuppression
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
OPTIONS="--quiet \
|
||||
--error-exitcode=1 \
|
||||
--force \
|
||||
--enable=style,information \
|
||||
--library=avr \
|
||||
--platform="${TOOLCONFIG}"/avr.xml \
|
||||
--includes-file="${TOOLCONFIG}"/includes.cfg \
|
||||
--suppressions-list="${TOOLCONFIG}"/suppressions.cfg"
|
||||
|
||||
echo $OPTIONS
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Instantiate the tool runtime shim
|
||||
. "$(git mystoolspath).bundle_runtime.sh"
|
||||
|
||||
# cppcheck takes one or more files as an argument.
|
||||
# --cached or <no arg> for changed
|
||||
if [[ $# = 0 ]]; then
|
||||
for file in $(modifiedSourceFiles); do
|
||||
runBundle $file
|
||||
done
|
||||
elif [[ $1 = '--cached' ]]; then
|
||||
for file in $(stagedSourceFiles); do
|
||||
runBundle $file
|
||||
done
|
||||
else
|
||||
eval "set -- $(git rev-parse --sq --prefix "$GIT_PREFIX" "$@")"
|
||||
runBundle "$@"
|
||||
fi
|
||||
Reference in New Issue
Block a user