Closed honnix closed 1 month ago
I think this is a great idea, ill need to research how to get this added
I think this is a great idea, ill need to research how to get this added
Awesome! I have never tried that myself, so no idea where to start. https://github.com/bazelbuild/bazel-central-registry/blob/main/docs/README.md this looks promising.
This is in progress https://github.com/bazelbuild/bazel-central-registry/pull/2893
This is in progress bazelbuild/bazel-central-registry#2893
Great this has been merged! Maybe next step is trying to make the build less setup depended, e.g. the version_tag
thing.
This is in progress bazelbuild/bazel-central-registry#2893
Great this has been merged! Maybe next step is trying to make the build less setup depended, e.g. the
version_tag
thing.
This has been solved using the module_version Bazel native method
This is in progress bazelbuild/bazel-central-registry#2893
Great this has been merged! Maybe next step is trying to make the build less setup depended, e.g. the
version_tag
thing.This has been solved using the module_version Bazel native method
Ah, I completely missed #235. That looks great. Thank you!
Since this repo has moved to bzlmod, maybe it is a good time to add it to BCR, so it would be easier for people to use source from their projects.
The current instructions Build from source in your Bazel Project does not work anymore since migrated to bzlmod, because
WORKSPACE
is now empty, so there are a few things missing, mostly aroundrules_kotlin
.BTW, I figured out a way to build from source from our project and I think it might be worth noting.
WORKSPACE
:cli.patch
(this is needed because we don't haveSTABLE_GIT_TAG
):Even with
cli.patch
in place,bazel run @bazel_diff//:bazel-diff -- -V
still doesn't work because it seemsrules_kotlin
does not handleresources
well, so we end up with having a bad resources jar:../bazel_diff/cli/version
is the file packed in the jar. But this is not critical at all.