Release 0.2.0
This release contains:
- Added
swiftformat_exclude
toswiftformat_library
,swiftformat_binary
, andswiftformat_test
. This allows a Swift file to be included for the build, but not formatted. This is useful for Swift source files that cause SwiftFormat to hang or take a long time to process. - Added missing logic for handling if
srcs
was not specified forswiftformat_library
,swiftformat_binary
, orswiftformat_test
. - Added
exclude_files
example which demonstrates the use of theswiftformat_exclude
attribute. - Fixed typo in
rules_swift_helpers
example. - Fixed issue where the name for the formatting targets was not unique.