mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-19 22:12:35 +00:00
Clang-format fixes
This commit is contained in:
@@ -44,7 +44,7 @@ jobs:
|
||||
- name: install dependencies
|
||||
run: brew install clang-format
|
||||
- name: run clang-format
|
||||
run: find . -iname \*.h -o -iname \*.c -o -iname \*.cpp | xargs clang-format -style=file -i
|
||||
run: find . -iname \*.h -o -iname \*.c -o -iname \*.cc | xargs clang-format -style=file -i
|
||||
- name: check
|
||||
run: git diff > clang_format.patch && echo -e "if \n [ -s clang_format.patch ] \nthen \n echo "clang-format not applied:"; echo ""; more clang_format.patch; exit 1 \nfi \n" > detect && chmod +x ./detect && ./detect
|
||||
|
||||
|
||||
Reference in New Issue
Block a user