1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

prepare allman style (#5774)

This commit is contained in:
david gauchard
2019-02-18 01:10:44 +01:00
committed by GitHub
parent b93b37fb81
commit e7e7a4da17
6 changed files with 84 additions and 7 deletions

19
tests/restyle.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
set -e
org=$(cd ${0%/*}; pwd)
cd ${org}/..
pwd
test -d cores/esp8266
test -d libraries
# in a near future, restyle-all.sh will be renamed to restyle.sh
# and will be checked against CI
for d in libraries; do
find $d -name "*.ino" -exec \
astyle \
--suffix=none \
--options=${org}/astyle_examples.conf {} \;
done