Sha256: 9345e69637f38c684450d87c79e2ccd4cdb830a2c8f1e14125223406b959affb

Contents?: true

Size: 656 Bytes

Versions: 7

Compression:

Stored size: 656 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)
RSpec::Core::RakeTask.new(:spec_junit) do |t|
  t.rspec_opts = ['--format RspecJunitFormatter', '--out rspec_report.xml']
  t.pattern    = '**/*_spec.rb'
end

require 'rubocop/rake_task'

RuboCop::RakeTask.new(:rubocop_default)
RuboCop::RakeTask.new(:rubocop_progress) do |t|
  t.formatters = %w(progress)
  t.options    = %w(--out rubocop_report.txt)
end

RuboCop::RakeTask.new

task default:        %w(spec rubocop_default)
task test:           :spec
task styles:         :rubocop_default
task test_junit:     :spec_junit
task style_progress: :rubocop_progress

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
genesis_ruby-0.2.0 Rakefile
genesis_ruby-0.1.9 Rakefile
genesis_ruby-0.1.8 Rakefile
genesis_ruby-0.1.7 Rakefile
genesis_ruby-0.1.6 Rakefile
genesis_ruby-0.1.5 Rakefile
genesis_ruby-0.1.4 Rakefile