Skip to content
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

custom_build should allow 0 deps #3891

Closed
nicks opened this issue Oct 28, 2020 · 0 comments
Closed

custom_build should allow 0 deps #3891

nicks opened this issue Oct 28, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@nicks
Copy link
Member

nicks commented Oct 28, 2020

In our current Bazel doc, we give the example:

custom_build(
  'bazel/snack',
  'bazel run //snack:image',
  [],
  tag="image",
)

This is currently an error:

Error: Argument 3 (deps) can't be empty

I don't see any good reason why this should be an error - it should be OK to produce an image if you don't have the source code checked out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants