rubocop / guard-rubocop

Guard plugin for RuboCop
MIT License
262 stars 55 forks source link

Support for Launchy #21

Closed RobinDaugherty closed 7 years ago

RobinDaugherty commented 9 years ago

This PR relies on the changes that are in #19, so that PR must be merged before this one.

Add support for the launchy option, which mirrors behavior that the guard-rspec plugin supports. For example:

guard :rubocop, cli: %w(--format fuubar --format html -o ./tmp/rubocop_results.html), launchy: './tmp/rubocop_results.html' do
  # ...
end

This will cause the Rubocop results to be opened in the default browser when the guard runs, in addition to being output in the terminal.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 736d49fd2872f45787c9cefc30a6c2e1ed6a63cc on Ahalogy:launchy into dffc18d76ee2cd7c7f73d9761cf0d4c53807a1c7 on yujinakayama:master.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 11a85a9c140de3109cfaddbdf5ad0c9c703e1dcb on Ahalogy:launchy into dffc18d76ee2cd7c7f73d9761cf0d4c53807a1c7 on yujinakayama:master.

RobinDaugherty commented 9 years ago

To satisfy rubocop running on Travis CI (the only reason for the build failure) the following changes need to be made:

I'm hoping to make these changes, but I probably won't be able to do it soon.

yujinakayama commented 7 years ago

Merged via #35. Thanks!