Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added swiftformat_exclude to the rules_swift helpers and bug fixes. #19

Merged
merged 13 commits into from
Oct 21, 2021

Conversation

cgrindel
Copy link
Owner

Closes #18.

  • Added swiftformat_exclude to swiftformat_library, swiftformat_binary, and swiftformat_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 for swiftformat_library, swiftformat_binary, or swiftformat_test.
  • Added exclude_files example which demonstrates the use of the swiftformat_exclude attribute.
  • Fixed typo in rules_swift_helpers example.
  • Fixed issue where the name for the formatting targets was not unique.

@cgrindel cgrindel self-assigned this Oct 21, 2021
@cgrindel cgrindel enabled auto-merge (squash) October 21, 2021 17:47
@cgrindel cgrindel merged commit 6e4e959 into main Oct 21, 2021
@cgrindel cgrindel deleted the fixes_from_fwf_impl branch October 21, 2021 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add swiftformat_exclude to swiftformat_library, swiftformat_binary, swiftformat_test
1 participant