mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:55:42 +00:00
Turn on -Werror but disable for a couple of third-party reps (#2555)
* silence warnings in third-party tools but treat warnings as errors in first-party * -Werror Former-commit-id: c3cc0ae56e03c6ff4fd3a1d1220b8b633b975c78
This commit is contained in:
@@ -23,6 +23,9 @@ scala_toolchain(
|
||||
"-feature",
|
||||
"-Wvalue-discard",
|
||||
"-Xsource:3",
|
||||
"-Werror",
|
||||
# Treat all warnings as errors inside src, silence warnings elsewhere (ie third party deps)
|
||||
"-Wconf:src=external/io_bazel_rules_scala/.*:silent,src=external/com_google_protobuf/.*:silent",
|
||||
],
|
||||
unused_dependency_checker_mode = "error",
|
||||
visibility = ["//visibility:public"],
|
||||
|
||||
Reference in New Issue
Block a user