blob: 87fb5aca5ec13894f8d37824b54e5e66cd7502fc [file] [log] [blame]
# 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