chore: remove unnecessary duplication in bazelrc presets
This commit is contained in:
parent
8b7af261be
commit
2704c61128
|
@ -1,7 +1,6 @@
|
||||||
# Attempt to build & test every target whose prerequisites were successfully built.
|
# Attempt to build & test every target whose prerequisites were successfully built.
|
||||||
# Docs: https://bazel.build/docs/user-manual#keep-going
|
# Docs: https://bazel.build/docs/user-manual#keep-going
|
||||||
build --keep_going
|
build --keep_going
|
||||||
test --keep_going
|
|
||||||
|
|
||||||
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
||||||
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
||||||
|
|
|
@ -11,7 +11,6 @@ build --noremote_upload_local_results
|
||||||
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
||||||
build --sandbox_default_allow_network=false
|
build --sandbox_default_allow_network=false
|
||||||
test --sandbox_default_allow_network=false
|
|
||||||
|
|
||||||
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
||||||
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
||||||
|
|
|
@ -41,8 +41,6 @@ build --experimental_reuse_sandbox_directories
|
||||||
# author.
|
# author.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
||||||
build --nolegacy_external_runfiles
|
build --nolegacy_external_runfiles
|
||||||
run --nolegacy_external_runfiles
|
|
||||||
test --nolegacy_external_runfiles
|
|
||||||
|
|
||||||
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
||||||
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Attempt to build & test every target whose prerequisites were successfully built.
|
# Attempt to build & test every target whose prerequisites were successfully built.
|
||||||
# Docs: https://bazel.build/docs/user-manual#keep-going
|
# Docs: https://bazel.build/docs/user-manual#keep-going
|
||||||
build --keep_going
|
build --keep_going
|
||||||
test --keep_going
|
|
||||||
|
|
||||||
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
||||||
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
||||||
|
|
|
@ -11,7 +11,6 @@ build --noremote_upload_local_results
|
||||||
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
||||||
build --sandbox_default_allow_network=false
|
build --sandbox_default_allow_network=false
|
||||||
test --sandbox_default_allow_network=false
|
|
||||||
|
|
||||||
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
||||||
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
||||||
|
|
|
@ -41,8 +41,6 @@ build --experimental_reuse_sandbox_directories
|
||||||
# author.
|
# author.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
||||||
build --nolegacy_external_runfiles
|
build --nolegacy_external_runfiles
|
||||||
run --nolegacy_external_runfiles
|
|
||||||
test --nolegacy_external_runfiles
|
|
||||||
|
|
||||||
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
||||||
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Attempt to build & test every target whose prerequisites were successfully built.
|
# Attempt to build & test every target whose prerequisites were successfully built.
|
||||||
# Docs: https://bazel.build/docs/user-manual#keep-going
|
# Docs: https://bazel.build/docs/user-manual#keep-going
|
||||||
build --keep_going
|
build --keep_going
|
||||||
test --keep_going
|
|
||||||
|
|
||||||
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
||||||
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
||||||
|
|
|
@ -11,7 +11,6 @@ build --noremote_upload_local_results
|
||||||
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
||||||
build --sandbox_default_allow_network=false
|
build --sandbox_default_allow_network=false
|
||||||
test --sandbox_default_allow_network=false
|
|
||||||
|
|
||||||
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
||||||
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
||||||
|
|
|
@ -41,8 +41,6 @@ build --experimental_reuse_sandbox_directories
|
||||||
# author.
|
# author.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
||||||
build --nolegacy_external_runfiles
|
build --nolegacy_external_runfiles
|
||||||
run --nolegacy_external_runfiles
|
|
||||||
test --nolegacy_external_runfiles
|
|
||||||
|
|
||||||
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
||||||
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Attempt to build & test every target whose prerequisites were successfully built.
|
# Attempt to build & test every target whose prerequisites were successfully built.
|
||||||
# Docs: https://bazel.build/docs/user-manual#keep-going
|
# Docs: https://bazel.build/docs/user-manual#keep-going
|
||||||
build --keep_going
|
build --keep_going
|
||||||
test --keep_going
|
|
||||||
|
|
||||||
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
||||||
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
||||||
|
|
|
@ -11,7 +11,6 @@ build --noremote_upload_local_results
|
||||||
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
||||||
build --sandbox_default_allow_network=false
|
build --sandbox_default_allow_network=false
|
||||||
test --sandbox_default_allow_network=false
|
|
||||||
|
|
||||||
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
||||||
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
||||||
|
|
|
@ -41,8 +41,6 @@ build --experimental_reuse_sandbox_directories
|
||||||
# author.
|
# author.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
||||||
build --nolegacy_external_runfiles
|
build --nolegacy_external_runfiles
|
||||||
run --nolegacy_external_runfiles
|
|
||||||
test --nolegacy_external_runfiles
|
|
||||||
|
|
||||||
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
||||||
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Attempt to build & test every target whose prerequisites were successfully built.
|
# Attempt to build & test every target whose prerequisites were successfully built.
|
||||||
# Docs: https://bazel.build/docs/user-manual#keep-going
|
# Docs: https://bazel.build/docs/user-manual#keep-going
|
||||||
build --keep_going
|
build --keep_going
|
||||||
test --keep_going
|
|
||||||
|
|
||||||
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
||||||
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
||||||
|
|
|
@ -11,7 +11,6 @@ build --noremote_upload_local_results
|
||||||
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
||||||
build --sandbox_default_allow_network=false
|
build --sandbox_default_allow_network=false
|
||||||
test --sandbox_default_allow_network=false
|
|
||||||
|
|
||||||
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
||||||
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
||||||
|
|
|
@ -41,8 +41,6 @@ build --experimental_reuse_sandbox_directories
|
||||||
# author.
|
# author.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
||||||
build --nolegacy_external_runfiles
|
build --nolegacy_external_runfiles
|
||||||
run --nolegacy_external_runfiles
|
|
||||||
test --nolegacy_external_runfiles
|
|
||||||
|
|
||||||
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
||||||
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Attempt to build & test every target whose prerequisites were successfully built.
|
# Attempt to build & test every target whose prerequisites were successfully built.
|
||||||
# Docs: https://bazel.build/docs/user-manual#keep-going
|
# Docs: https://bazel.build/docs/user-manual#keep-going
|
||||||
build --keep_going
|
build --keep_going
|
||||||
test --keep_going
|
|
||||||
|
|
||||||
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
# Output test errors to stderr so users don't have to `cat` or open test failure log files when test
|
||||||
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
# fail. This makes the log noiser in exchange for reducing the time-to-feedback on test failures for
|
||||||
|
|
|
@ -11,7 +11,6 @@ build --noremote_upload_local_results
|
||||||
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
# Developers should tag targets with `tags=["requires-network"]` to opt-out of the enforcement.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
# Docs: https://bazel.build/reference/command-line-reference#flag--sandbox_default_allow_network
|
||||||
build --sandbox_default_allow_network=false
|
build --sandbox_default_allow_network=false
|
||||||
test --sandbox_default_allow_network=false
|
|
||||||
|
|
||||||
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
# Warn if a test's timeout is significantly longer than the test's actual execution time.
|
||||||
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
# Bazel's default for test_timeout is medium (5 min), but most tests should instead be short (1 min).
|
||||||
|
|
|
@ -41,8 +41,6 @@ build --experimental_reuse_sandbox_directories
|
||||||
# author.
|
# author.
|
||||||
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
|
||||||
build --nolegacy_external_runfiles
|
build --nolegacy_external_runfiles
|
||||||
run --nolegacy_external_runfiles
|
|
||||||
test --nolegacy_external_runfiles
|
|
||||||
|
|
||||||
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
# Some actions are always IO-intensive but require little compute. It's wasteful to put the output
|
||||||
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
# in the remote cache, it just saturates the network and fills the cache storage causing earlier
|
||||||
|
|
Loading…
Reference in New Issue