Skip to content

Fix run script to remove SwiftFormat#59

Merged
kevinlind merged 5 commits intoadobe:mainfrom
kevinlind:fixscript
Feb 15, 2022
Merged

Fix run script to remove SwiftFormat#59
kevinlind merged 5 commits intoadobe:mainfrom
kevinlind:fixscript

Conversation

@kevinlind
Copy link
Copy Markdown
Contributor

Description

Update project build run script to use SwiftLint from Pods directory and remove SwiftFormat. As SwiftFormat is not automatically installed, like SwiftLint from CocoaPods, customers are reporting build failures when making the Analytics XCFramework.

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Copy Markdown
Contributor

@emdobrin emdobrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we still use swiftformat in makefile and ci, do we want to continue using them that way?

Copy link
Copy Markdown
Contributor

@cdhoffmann cdhoffmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@kevinlind
Copy link
Copy Markdown
Contributor Author

Looks like we still use swiftformat in makefile and ci, do we want to continue using them that way?

I'm okay with removing SwiftFormat. We have SwiftLint and it provides good integration options for us so I don't see the need for SwiftFormat as well.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 15, 2022

Codecov Report

Merging #59 (3b4fe70) into main (d202c74) will decrease coverage by 34.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main      #59       +/-   ##
===========================================
- Coverage   89.93%   55.92%   -34.01%     
===========================================
  Files          13       14        +1     
  Lines        1082     1107       +25     
===========================================
- Hits          973      619      -354     
- Misses        109      488      +379     

@kevinlind kevinlind merged commit 1a14741 into adobe:main Feb 15, 2022
@kevinlind kevinlind deleted the fixscript branch February 15, 2022 18:26
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.

3 participants