Sha256: 34a2b4b7fa543a2f9b0f32af7ac816ccf5d7bc902cac3d9d041a3e24a9b572e8

Contents?: true

Size: 774 Bytes

Versions: 6

Compression:

Stored size: 774 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "rubocop/rake_task"

RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = "--format documentation --format RspecJunitFormatter --out test-reports/spec.xml"
end
RSpec::Core::RakeTask.new(:tests) do |t|
  t.rspec_opts = "--format progress --format documentation"
end
RSpec::Core::RakeTask.new(:spec_report) do |t|
  t.rspec_opts = "--format html --out reports/rspec_results.html"
end

RuboCop::RakeTask.new(:rubocop)

desc "Remove temporary files"
task :clean do
  `rm -rf *.gem doc pkg coverage test-reports`
  %x(rm -f `find . -name '*.rbc'`)
end

desc "Build the gem"
task :gem do
  `gem build trailblazer-finder.gemspec`
end

desc "Running Tests"
task default: %i[spec]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trailblazer-finder-0.50.0 Rakefile
trailblazer-finder-0.10.3 Rakefile
trailblazer-finder-0.10.2 Rakefile
trailblazer-finder-0.10.1 Rakefile
trailblazer-finder-0.10.0 Rakefile
trailblazer-finder-0.3.0 Rakefile