You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bazel build tests/binary-with-data:binary-with-data
ERROR: /Users/judah.jacobson/repos/rules_haskell/tests/binary-with-data/BUILD:20:10: in data attribute of haskell_binary rule //tests/binary-with-data:bin1: file '//tests/binary-with-data:foo' is misplaced here (expected no files)
Might be as simple as adding an allow_files somewhere, though we'll want to add more test coverage to be sure.
The text was updated successfully, but these errors were encountered:
judah
added a commit
to FormationAI/rules_haskell
that referenced
this issue
May 7, 2018
The rules currently don't seem to allow files in the "data" attribute.
Example code: 522dc28
An example with
cc_binary
succeeds:But with
haskell_binary
, it fails:Might be as simple as adding an
allow_files
somewhere, though we'll want to add more test coverage to be sure.The text was updated successfully, but these errors were encountered: