Skip to content

Commit

Permalink
Hide warnings of external Haskell packages (digital-asset#3593)
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann-da authored and mergify[bot] committed Nov 22, 2019
1 parent f1f41b6 commit 16b6f1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bazel-haskell-deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_binary")
haskell_cabal_binary(
name = "alex",
srcs = glob(["**"]),
compiler_flags = ["-w", "-optF=-w"],
visibility = ["//visibility:public"],
)
""",
Expand All @@ -54,6 +55,7 @@ load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_binary")
haskell_cabal_binary(
name = "c2hs",
srcs = glob(["**"]),
compiler_flags = ["-w", "-optF=-w"],
deps = [
"@c2hs_deps//:base",
"@c2hs_deps//:bytestring",
Expand All @@ -76,6 +78,7 @@ load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_binary")
haskell_cabal_binary(
name = "happy",
srcs = glob(["**"]),
compiler_flags = ["-w", "-optF=-w"],
visibility = ["//visibility:public"],
)
""",
Expand Down Expand Up @@ -155,6 +158,7 @@ load("@rules_haskell//haskell:cabal.bzl", "haskell_cabal_binary")
haskell_cabal_binary(
name = "hpp",
srcs = glob(["**"]),
compiler_flags = ["-w", "-optF=-w"],
deps = [
"@stackage//:base",
"@stackage//:directory",
Expand All @@ -180,6 +184,7 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_binary")
haskell_binary(
name = "compile-proto-file",
srcs = ["tools/compile-proto-file/Main.hs"],
compiler_flags = ["-w", "-optF=-w"],
deps = [
"@stackage//:base",
"@stackage//:optparse-applicative",
Expand Down Expand Up @@ -265,6 +270,7 @@ haskell_cabal_library(
name = "grpc-haskell-core",
version = "0.0.0.0",
srcs = glob(["**"]),
compiler_flags = ["-w", "-optF=-w"],
deps = packages["grpc-haskell-core"].deps + [
":grpc",
":libgpr",
Expand Down

0 comments on commit 16b6f1b

Please sign in to comment.