Skip to content

Instantly share code, notes, and snippets.

@OlegHahm
Created January 4, 2017 16:38
Show Gist options
  • Save OlegHahm/b27a743a24213d9bf6e495cc1404cc8b to your computer and use it in GitHub Desktop.
Save OlegHahm/b27a743a24213d9bf6e495cc1404cc8b to your computer and use it in GitHub Desktop.
diff --git a/.gitattributes b/.gitattributes
index 9ebeba488..92c34bd3e 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -5,3 +5,4 @@
# when the heading is exactly 7 characters long.
*.md conflict-marker-size=100
*.txt conflict-marker-size=100
+pkg/tweetnacl/*/* -diff
diff --git a/dist/tools/cppcheck/check.sh b/dist/tools/cppcheck/check.sh
index c2d153bf4..78666bc97 100755
--- a/dist/tools/cppcheck/check.sh
+++ b/dist/tools/cppcheck/check.sh
@@ -18,7 +18,7 @@ fi
BRANCH=${1}
FILEREGEX='\.([sScHh]|cpp)$'
-EXCLUDE='^(cpu/saml21/include/atmel/)|^(cpu/cortexm_common/include/)'
+EXCLUDE='^(cpu/saml21/include/atmel/)|^(cpu/cortexm_common/include/)|^(pkg/tweetnacl/)'
# If no branch but an option is given, unset BRANCH.
# Otherwise, consume this parameter.
diff --git a/dist/tools/externc/check.sh b/dist/tools/externc/check.sh
index 9d9cff934..bf22cf9f9 100755
--- a/dist/tools/externc/check.sh
+++ b/dist/tools/externc/check.sh
@@ -28,7 +28,7 @@ else
FILES="$(git diff --diff-filter=${DIFFFILTER} --name-only ${BRANCH} | grep -E '\.h$')"
fi
-FILES=$(echo "${FILES}" | grep -v -E '^(dist/tools|boards/msba2-common/tools/|cpu/saml21/include/atmel/|cpu/sam21_common/include/cmsis/)')
+FILES=$(echo "${FILES}" | grep -v -E '^(dist/tools|boards/msba2-common/tools/|cpu/saml21/include/atmel/|cpu/sam21_common/include/cmsis/|pkg/tweetnacl)')
# check files
for FILE in ${FILES}; do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment