Skip to content

0.18.0

Compare
Choose a tag to compare
@swiple-rules-gardener swiple-rules-gardener released this 09 Aug 19:58
· 1579 commits to master since this release
  • This release is tested with Bazel 0.28.1
  • Document the tvos_unit_test and tvos_ui_test rules. (736c72a)
  • Refactored AppleResourceInfo provider to reduce memory consumption. (e424bbe)
  • The apple.trim_lproj_locales flag strips any .lproj folders that don't have a matching .lproj folder in the base of the app(e.g. bundles from Frameworks that are localized). (db0bfa0)
  • ios_unit_test and ios_ui_test now accept a frameworks attribute which can link to ios_framework targets. This allows sharing of code and resources across multiple test targets that contain common dependencies, and avoids the duplicate processing actions for those. (9089a84)
  • macos_unit_tests and macos_ui_test now accept a additional_contents attribute which can copy files into specific subdirectories of the Contents folder. (19e97fb)
  • Attributes were documented below rules, but not shown in the signature. (92f13dd)
  • Add explanation that ios_*_test_suite generates a test_suite (but doesn't work like the general test_suite) and adds links between the ios_*_test and ios_*_test_suite rules with notes on usage. (2d45901)
  • Adding a new 'resources' field to all Apple rules that support bundling. The resources attribute is used for adding files to the bundles resouce list that are not otherise associated with any objc_library or swift_library. The resources will be made available in the resulting binaries resources folder. For example, a macos_application would include the resources in the <name>.app/Contents/Resources folder and an ios_application would include the resources in the <name>.app/Resources folder. (fcf48b0)
  • The environment contents of the Info.plist have been extracted into shared targets per platform so that their output can be cached and reused across multiple targets. (4d41364) Thanks @keith!

Thanks to the following contributors:

Please use the rules_apple.0.18.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: a045a436b642c70fb0c10ca84ff0fd2dcbd59cc89100d597a61e8374afafb366

Complete list of changes