forked from the-distro/infra
Luke Granger-Brown
dd6ee53bfe
This does a bit more than advertised, since this also switches to a different set of Bazel package building infrastructure that I'm hoping will be more extensible than buildBazelPackage as it exists in nixpkgs today. In any case, the FOD here _seems_ to be much more stable than that previously produced by the old approach, but no promises :)
12 lines
422 B
Plaintext
12 lines
422 B
Plaintext
# Not using common --repository_cache because Gerrit's bazelrc overrides this...
|
|
build --repository_cache=repository-cache
|
|
build --action_env=SSL_CERT_FILE
|
|
build --action_env=GERRIT_CACHE_HOME
|
|
build --tool_java_runtime_version=local_jdk --java_runtime_version=local_jdk
|
|
build --workspace_status_command="cat .version"
|
|
|
|
# Disable errorprone
|
|
build --javacopt="-XepDisableAllChecks"
|
|
|
|
sync --repository_cache=repository-cache
|