Sha256: 1b2c7a105f961a534d9dff04fd003569f216aa67a2dec95731f74f8e9c29672a
Contents?: true
Size: 527 Bytes
Versions: 1
Compression:
Stored size: 527 Bytes
Contents
# encoding: utf-8 module Phare class Check class Rubocop < Check def initialize(directory) @path = directory end def command 'rubocop' end protected def should_run? !Phare.system_output('which rubocop').empty? end def print_banner Phare.puts '----------------------------------------' Phare.puts 'Running Rubocop to check for Ruby style…' Phare.puts '----------------------------------------' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phare-0.4 | lib/phare/check/rubocop.rb |