Sha256: efe06c2c63741b1c5f27f418fa18fc8d0bb6dbefce4b9d9d56cac57c05840c6e
Contents?: true
Size: 260 Bytes
Versions: 1
Compression:
Stored size: 260 Bytes
Contents
namespace :mixin_comment do desc 'Verify mixin comments' task :verify => :environment do dirs = ENV.key?('DIRS') ? ENV['DIRS'].split(',') : [Rails.root.join('app').to_s] results = MixinComment.verify(dirs) results.each(&:show_errors) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mixin_comment-0.1.0 | lib/mixin_comment/tasks/verify.rake |