1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-01 03:47:23 +03:00

Migrate from astyle to clang-format (#8464)

This commit is contained in:
Maxim Prokhorov
2022-02-20 19:23:33 +03:00
committed by Max Prokhorov
parent 46190b61f1
commit 19b7a29720
241 changed files with 15925 additions and 16197 deletions

View File

@ -2,12 +2,12 @@
#
# CI job for checking examples style
set -ev
set -e -x
org=$(cd ${0%/*}; pwd)
${org}/../restyle.sh
root=$(git rev-parse --show-toplevel)
${root}/tests/restyle.sh
# Revert changes which astyle might have done to the submodules,
# Revert changes which formatter might have done to the submodules,
# as we don't want to fail the build because of the 3rd party libraries
git --version || true
git submodule foreach --recursive 'git reset --hard'