Skip to content

Commit

Permalink
remove provides from rule(), because skydoc barfs
Browse files Browse the repository at this point in the history
Similar to bazelbuild/skydoc#59 it also
doesn’t support `provides`.
Since `provides` is just nice-to-have, we drop it for now.
  • Loading branch information
Profpatsch committed Nov 22, 2018
1 parent bc1ce90 commit 100073a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions haskell/haskell.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

load(
"@io_tweag_rules_haskell//haskell:private/providers.bzl",
"HaskellBinaryInfo",
"HaskellBuildInfo",
"HaskellLibraryInfo",
"HaskellPrebuiltPackageInfo",
)
load(":private/set.bzl", "set")
Expand Down Expand Up @@ -143,10 +140,6 @@ def _mk_binary_rule(**kwargs):
"@io_tweag_rules_haskell//haskell:toolchain",
"@bazel_tools//tools/cpp:toolchain_type",
],
provides = [
HaskellBuildInfo,
HaskellBinaryInfo,
],
**kwargs
)

Expand Down Expand Up @@ -212,10 +205,6 @@ haskell_library = rule(
"@io_tweag_rules_haskell//haskell:toolchain",
"@bazel_tools//tools/cpp:toolchain_type",
],
provides = [
HaskellBuildInfo,
HaskellLibraryInfo,
],
)
"""Build a library from Haskell source.
Expand Down

0 comments on commit 100073a

Please sign in to comment.