1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-05 18:30:57 +01:00
esphome/script/lint-cpp
Oxan van Leeuwen 0e4f1ac40d
Fix default environment for clang-tidy (#2420)
* Drop unnecessary platformio call from script/lint-cpp

* Default environment for clang-tidy to esp32-tidy
2021-09-30 16:24:02 +02:00

11 lines
129 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
set -x
script/clang-tidy $@ --fix --all-headers
script/clang-format $@ -i