Skip to content

Latest commit

 

History

History
executable file
·
27 lines (16 loc) · 1.2 KB

filter_srcs.md

File metadata and controls

executable file
·
27 lines (16 loc) · 1.2 KB

filter_srcs Rule

filter_srcs

load("@cgrindel_bazel_starlib//bzllib:defs.bzl", "filter_srcs")

filter_srcs(name, srcs, expected_count, filename_ends_with)

Filters the provided inputs using the specified criteria.

ATTRIBUTES

Name Description Type Mandatory Default
name A unique name for this target. Name required
srcs The inputs that will be evaluated by the filter. List of labels required
expected_count The expected number of results. Integer optional -1
filename_ends_with The suffix of the path will be compared to this value. String optional ""