mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
20 lines
357 B
Bash
Executable File
20 lines
357 B
Bash
Executable File
#!/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
|