-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathtemplate-user.bazelrc
More file actions
54 lines (50 loc) · 2.13 KB
/
template-user.bazelrc
File metadata and controls
54 lines (50 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
## All lines are commented out, uncomment and edit the lines you'd like to add to your user specific .bazelrc
## Copy to your user-specific user.bazelrc (which is in .gitignore) with the following command:
## cp template-user.bazelrc user.bazelrc
################
# Windows only #
################
# common --output_user_root=D:/tmp
########################
## API key based auth ##
########################
## Get your API key by:
## 1) Logging in or creating an account here: https://app.buildbuddy.io/
## 2) Following the Quickstart guide here: https://app.buildbuddy.io/docs/setup/
## 3) Update and uncomment the line below accordingly
#common --remote_header=x-buildbuddy-api-key=YOUR_API_KEY
## Like above, but follow https://app.buildbuddy.dev/docs/setup/
#common:remote-dev-shared --remote_header=x-buildbuddy-api-key=YOUR_DEV_API_KEY
#################################
## Local toolchain development ##
#################################
## Use when developing the toolchain repo
## Uncomment the line below and update the path to point to your local toolchain directory
#common --override_module=toolchains_buildbuddy=/ABSOLUTE_PATH_TO_YOUR_TOOLCHAIN_DIRECTORY/buildbuddy-toolchain/
##########
## Misc ##
##########
# Cache your external dependencies downloads
#common --repository_cache=~/.bazel/repository_cache/
#common --experimental_repository_cache_hardlinks
#
# Cache your Go module downloads using the host Go module cache
#common --repo_env=GO_REPOSITORY_USE_HOST_MODCACHE=1
#common --repo_env=GOMODCACHE=/ABSOLUTE_PATH_TO_YOUR_GO_MODULE_CACHE
#
# Print out test logs if there is any error
#common --test_output=errors
#
# Show more actions in the terminal output.
# When execute build remotely, up-to 100 actions could be running in parallel.
#common --ui_actions_shown=32
#
# Enable disk cache and garbage collection
#common --disk_cache=~/.bazel/disk_cache/
#common --experimental_disk_cache_gc_max_age=7d
#
# Always build Go sources from protobuf
# Always build nogo lint fix patches when available
#common --output_groups=+go_generated_srcs,+nogo_fix
# Download nogo patch files to bazel-out
#common:remote-minimal --remote_download_regex=.*_nogo/nogo.patch$