1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00
esp8266/tests/ci/style_check.sh
2019-02-18 01:10:44 +01:00

15 lines
347 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 submodule foreach --recursive git reset --hard
git diff --exit-code -- $TRAVIS_BUILD_DIR/libraries