add //:buildifier to lint rule
This commit is contained in:
parent
22b5d3e8e3
commit
0837bafbfb
@ -15,8 +15,10 @@ tasks:
|
|||||||
- setup: |
|
- setup: |
|
||||||
sudo apt-get purge gcc -y && sudo apt-get autoremove -y
|
sudo apt-get purge gcc -y && sudo apt-get autoremove -y
|
||||||
- lint: |
|
- lint: |
|
||||||
cd bazel-zig-cc;
|
cd bazel-zig-cc; .envrc
|
||||||
shellcheck -x $(awk '/#!\/bin\/(ba)?sh/&&FNR==1{print FILENAME}' $(git ls-files))
|
shellcheck -x $(awk '/#!\/bin\/(ba)?sh/&&FNR==1{print FILENAME}' $(git ls-files))
|
||||||
|
bazel run //:buildifier
|
||||||
|
git diff --exit-code
|
||||||
- test_list_toolchains: |
|
- test_list_toolchains: |
|
||||||
cd bazel-zig-cc; . .envrc; echo "Available toolchains:"
|
cd bazel-zig-cc; . .envrc; echo "Available toolchains:"
|
||||||
bazel query @zig_sdk//... | sed -En '/.*_toolchain$/ s/.*:(.*)_toolchain$/\1/p'
|
bazel query @zig_sdk//... | sed -En '/.*_toolchain$/ s/.*:(.*)_toolchain$/\1/p'
|
||||||
|
Loading…
Reference in New Issue
Block a user