Sha256: 7b89a39ca87f851064c086b768a9018a158750e6ecb946756768f9a95c1e3ca0
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 Bytes
Contents
#!/usr/bin/env ruby # @encoding: utf-8 # @author: Sascha Manns # @abstract: hoe-rubocop # # Copyright (c) 2015 Sascha Manns <samannsml@directbox.com> # License: MIT # Dependencies require 'fileutils' # Main module for hoe-rubocop module Hoe::Rubocop VERSION = '1.0.2' attr_accessor :rubocop # Initialize plugin def initialize_rubocop require 'rubocop/rake_task' end # Define the Rubocop Rake task def define_rubocop_tasks FileUItils.rm_rf('pkg') if File.exist?('pkg') RuboCop::RakeTask.new(:rubocop) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hoe-rubocop-1.0.2 | lib/hoe/rubocop.rb |