Rename .tools to .mystools for Arduino IDE (#686)

* The Arduino IDE considers the .tools directory
special and warns if it finds .tools the repo

References #672
This commit is contained in:
Bruce Lacey
2016-12-11 22:08:14 +01:00
committed by Patrick Fallberg
parent 28e0086291
commit 68ce74d11a
12 changed files with 8 additions and 7 deletions
-19
View File
@@ -1,19 +0,0 @@
#!/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