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:
committed by
Max Prokhorov
parent
46190b61f1
commit
19b7a29720
@ -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'
|
||||
|
Reference in New Issue
Block a user