Sha256: ab9345f0a6cd66d75759c055b2cdf24fc2d6dd8997b572462c4a940096015dc3
Contents?: true
Size: 544 Bytes
Versions: 1
Compression:
Stored size: 544 Bytes
Contents
# encoding: UTF-8 # @encoding: utf-8 # @author: Sascha Manns # @abstract: hoe-rubocop # # Copyright (c) 2015-2017 Sascha Manns <Sascha.Manns@mailbox.org> # License: MIT # Dependencies require 'fileutils' # Main module for hoe-rubocop module Hoe::Rubocop VERSION = '1.0.7' attr_accessor :rubocop # Initialize plugin def initialize_rubocop require 'rubocop/rake_task' end # Define the Rubocop Rake task def define_rubocop_tasks FileUtils.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.7 | lib/hoe/rubocop.rb |