Bazel and bazel central registry support #136
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I mainly use bazel as my build system and I was wondering if pcre2 would be willing to accept these files upstream to add pcre2 to the bazel central registry. I can write patches for the repository and submit it that way, but it is preferred to have them in the repository.
At the moment this is a minimal configuration that successfully runs the
pcre2demo
. e.g.If this was accepted and submited to the bazel central registry then bazel users would only have to add the following to their
MODULE.bazel
.And then any target that uses pcre2 would simply be added to their
deps
list.I'm happy to add tests that cover bazel and make any other modifications you require.