Fix linter path and lint code (#170)

* chage syntax checker path

* fix syntax
This commit is contained in:
coreglitch
2020-10-11 17:03:05 +06:00
committed by GitHub
parent 176e608c6d
commit 469dbf58ac
5 changed files with 437 additions and 396 deletions

View File

@@ -11,10 +11,8 @@ cd $PROJECT_DIR
echo "RUN C\C++ SYNTAX CHECK"
C_FILES=$(find . \
-not \( -path './target_*/Middlewares' -prune \) \
-not \( -path './target_*/Drivers' -prune \) \
-not \( -path './target_*/build' -prune \) \
-not \( -path './target_*/Inc' -prune \) \
-not \( -path './firmware/.obj' -prune \) \
-not \( -path './firmware/targets' -prune \) \
-not \( -path ./lib -prune \) \
-name *.c -o -name *.h -o -name *.cpp)