esphome/script/lint-cpp

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