manicmaniac / danger-periphery

A Danger plugin to detect unused codes using Periphery.
https://www.rubydoc.info/gems/danger-periphery/
MIT License
25 stars 6 forks source link

Add Support for build_args in scan Method for Custom xcodebuild Arguments #242

Closed Xopoko closed 2 months ago

Xopoko commented 2 months ago

Close https://github.com/manicmaniac/danger-periphery/issues/231

Key Changes:

Example Usage:

periphery.scan(
  config: '.periphery.yml', 
  project: 'MyProject.xcworkspace', 
  build_args: " -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' DISABLE_SWIFTLINT=YES"
)

Please review the changes, and I look forward to your feedback!

Thank you!

manicmaniac commented 2 months ago

Don't mind the failing CI job. I think it is due to my misconfiguration.