giginet / danger-xcprofiler

🚫 danger plugin for asserting Swift compilation time
MIT License
50 stars 4 forks source link

Allow custom derived data path and ignored_files support #7

Closed KingOfBrian closed 5 years ago

KingOfBrian commented 5 years ago

I'm setting up danger-xcprofiler on a Jenkins box, and we put the derived data in a different directory. The plugin doesn't allow you to specify a DerivedData directory, but xcprofiler does. This just relays through another string.

Additionally, we have a handful of errors in our Pods directory that I want to be able to ignore. So I added an ignored_files property to the plugin that mimics the behavior of danger-xcode_summary and allows a simple regular expression.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.1%) to 98.571% when pulling 2e50deb19332747e179eeb667eda2d49fee94431 on KingOfBrian:custom_derived_data_path into 707163d79c20b17e7e854fb6089fab57f83c2a78 on giginet:master.

giginet commented 5 years ago

Thanks! I'll check this tomorrow

giginet commented 5 years ago

@KingOfBrian I just released v0.4.0. Thanks 😄

https://rubygems.org/gems/danger-xcprofiler