Tinder / bazel-diff

Performs Bazel Target Diffing between two revisions in Git, allowing for Test Target Selection and Selective Building
Other
397 stars 59 forks source link

limit bazel-diff to ingnore checking external modules #200

Open SeasonChains opened 9 months ago

SeasonChains commented 9 months ago

bazel:diff -- generate-hashes --bazelCommandOptions='//... //...' --includeTargetType -w ** -v I am trying to limit external modules from bieng checked when running bazel diff . So that generate hashes are for all the other modules but external. However couldn't find a good way to achieve tis, how the query can be passed to the bazel-diff.

tinder-maxwellelliott commented 4 months ago

This should be possible with some simple filtering in the kotlin code, maybe looking at a workspace/repo name value for a target and filtering out non-matches