forked from google/startup-os
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.txt
More file actions
16 lines (13 loc) · 726 Bytes
/
commands.txt
File metadata and controls
16 lines (13 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Fix formatting of BUILD file with `buildifier`
# (https://github.com/bazelbuild/buildtools/tree/master/buildifier)
# Note that all paths should be absolute
bazel run //tools:buildifier -- -mode=fix `pwd`/…
# Find unused dependencies with `unused_deps`
# (https://github.com/bazelbuild/buildtools/blob/master/unused_deps/)
bazel run //tools:unused_deps -- <BUILD target, e.g //folder:target>
# Bash completion
# This assumes you've installed `bazel` via APT or Homebrew
# To enable bundled-in autocomplete for `bazel`, run completion.sh
# completion.sh present at https://github.com/google/startup-os/tree/master/tools
sh tools/completion.sh
# To show logs for passing tests, add this to `bazel test`: --test_output=all