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