Skip to content

Commit

Permalink
bazel: allow configuring the alias to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelnaranjo committed Mar 12, 2024
1 parent c382160 commit c9116d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/rules.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pitest/private/rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def java_pitest_test(
test_targets = [],
library_targets = [],
target_classes = [],
rules_pitest = "com_bookingcom_rules_pitest",
**kwargs):
"""Runs pitest test using Bazel.
Expand All @@ -100,6 +101,7 @@ def java_pitest_test(
library_targets: bazel libraries that are going to be mutated by pitest
target_classes: pitest targetClasses cli argument
package_prefixes: List of prefixes for your maven targets
rules_pitest: Alias for the rules_pitest in case you don't import as com_bookingcom_rules_pitest
**kwargs: Aditional flags to the test
"""
Expand Down

0 comments on commit c9116d6

Please sign in to comment.