bazel-ios / cocoapods-bazel

A Cocoapods plugin for automatically generating Bazel BUILD files
Apache License 2.0
110 stars 21 forks source link

Ignore nonexistent globs #80

Closed jszumski closed 2 years ago

jszumski commented 2 years ago

Prunes podspec patterns that don't match anything on disk. This is needed for Bazel builds with --incompatible_disallow_empty_glob enabled. Invalid patterns typically show up in 2 ways:

The existing test for GlobExpansion already included paths that intentionally didn't exist on disk so I only needed to update its "after" fixture.

Relies on https://github.com/bazel-ios/cocoapods-bazel/pull/79.