-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg_zip doesn't seem to be working as one would expect it to #126
Comments
Thanks for the detailed report! Without having run your examples, the likely cause of your problem is the I believe your issue can be resolved by tweaking your WORKSPACE snippet to look something like this:
Changes are in the Honestly, |
Thanks @nacl - your suggestion works. I had to make three edits, two in the
Your suggestion to move the |
I'm trying to use
pkg_zip
but it doesn't seem to be working.helloworld.txt
:BUILD
:WORKSPACE
:When I try to run
bazel build //:helloworld
, I get an error:At first I thought this was simply an undeclared dependency on
rules_go
, so I added it to myWORKSPACE
:But still no joy, this time with a different error:
Surely I must be missing something fundamental - can anyone point out the problem why I can't get this toy example to work with
pkg_zip
?FYI, i'm running Bazel 2.0.0:
The text was updated successfully, but these errors were encountered: