mirror of
https://github.com/esphome/esphome.git
synced 2024-09-11 01:40:00 +02:00
* Update CI matcher * Check Executable bit * Quicklint * Updates * Allow pm1.0 and pm10.0 for PMS5003ST Fixes https://github.com/esphome/feature-requests/issues/225 * PowerSupplyRequester * Lint * Include debug data in generated main.cpp * Updates * Auto-select bit_depth * Updates
17 lines
302 B
Bash
Executable File
17 lines
302 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
if [[ ! -e ".gcc-flags.json" ]]; then
|
|
pio init --ide atom
|
|
fi
|
|
if ! patch -R -p0 -s -f --dry-run <script/.neopixelbus.patch; then
|
|
patch -p0 < script/.neopixelbus.patch
|
|
fi
|
|
|
|
set -x
|
|
|
|
script/clang-tidy -c --fix --all-headers
|
|
script/clang-format -c -i
|