1

add //:buildifier to lint rule

This commit is contained in:
Motiejus Jakštys 2021-11-05 20:22:06 +02:00
parent 22b5d3e8e3
commit 0837bafbfb

View File

@ -15,8 +15,10 @@ tasks:
- setup: |
sudo apt-get purge gcc -y && sudo apt-get autoremove -y
- lint: |
cd bazel-zig-cc;
cd bazel-zig-cc; .envrc
shellcheck -x $(awk '/#!\/bin\/(ba)?sh/&&FNR==1{print FILENAME}' $(git ls-files))
bazel run //:buildifier
git diff --exit-code
- test_list_toolchains: |
cd bazel-zig-cc; . .envrc; echo "Available toolchains:"
bazel query @zig_sdk//... | sed -En '/.*_toolchain$/ s/.*:(.*)_toolchain$/\1/p'