mirror of
https://github.com/esphome/esphome.git
synced 2024-08-29 23:50:20 +02:00
14 lines
192 B
Bash
Executable File
14 lines
192 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
if [[ ! -e ".gcc-flags.json" ]]; then
|
|
pio init --ide atom
|
|
fi
|
|
|
|
set -x
|
|
|
|
script/clang-tidy $@ --fix --all-headers
|
|
script/clang-format $@ -i
|