# C++ & Java | |
find -name '*.cpp' -o -name '*.h' -o -name '*.java' | xargs clang-format-11 -i | |
# Kotlin | |
# curl -sSLO https://github.com/pinterest/ktlint/releases/download/0.40.0/ktlint && chmod a+x ktlint | |
ktlint -F "agent/**/*.kt" "driver/**/*.kt" "examples/**/*.kt" | |
# BUILD files | |
# go get github.com/bazelbuild/buildtools/buildifier | |
buildifier -r . | |
# Licence headers | |
# go get -u github.com/google/addlicense | |
addlicense -c "Code Intelligence GmbH" agent/ driver/ examples/ bazel/ *.bzl |