bazel-contrib / SIG-rules-authors

Governance and admin for the rules authors Special Interest Group
https://bazel-contrib.github.io/SIG-rules-authors/
Apache License 2.0
28 stars 12 forks source link

Updating tutorial to spike deps.bzl file #74

Open chrislovecnm opened 1 year ago

chrislovecnm commented 1 year ago

In order to use gazelle, you initially need an empty deps.bzl file. I added instructions on how to set up the file.

chrislovecnm commented 1 year ago

@alexeagle ping

MattyKuzyk commented 1 year ago

Looks fine, though I'm not sure why it's necessary over the simplicity of letting Gazelle generate deps.bzl for you (which it will do when bazel run //:gazelle-update-repos is run)

chrislovecnm commented 1 year ago

@MattyKuzyk is there a different order from what the tutorial says? I have had this problem in a couple of different projects.