mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
- (some) core files are astyled - ci was only checking libraries => now everything is checked
16 lines
361 B
Bash
Executable File
16 lines
361 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# CI job for checking examples style
|
|
|
|
set -ev
|
|
|
|
org=$(cd ${0%/*}; pwd)
|
|
${org}/../restyle.sh
|
|
|
|
# Revert changes which astyle 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'
|
|
|
|
git diff --exit-code -- $TRAVIS_BUILD_DIR
|