Sha256: bb55c18d8d53f100eab4aa4a4fc981b545939b8cb40b38c57f746653edac343a

Contents?: true

Size: 432 Bytes

Versions: 8

Compression:

Stored size: 432 Bytes

Contents

require 'bundler/gem_tasks'
require 'rubocop/rake_task'

task default: [:spec]
desc 'run Rspec specs'
task :spec do
  sh 'rspec spec'
end

desc 'Run Rspec spec with reports'
task :spec_report do
  sh 'rspec spec --format RspecJunitFormatter --out spec/reports/rspec.xml'
end

desc 'Run RuboCop on the lib directory'
RuboCop::RakeTask.new(:rubocop) do |task|
  task.formatters = [%w(files offenses)]
  task.fail_on_error = false
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
yacli-0.3.2 Rakefile
yacli-0.3.1 Rakefile
yacli-0.2.5 Rakefile
yacli-0.2.4 Rakefile
yacli-0.2.3 Rakefile
yacli-0.2.2 Rakefile
yacli-0.2.1 Rakefile
yacli-0.2.0 Rakefile