Sha256: 48bd9d1dedf1c13bfdf723fea58d99f6be6ca3384e6817db14274f8801131f1b

Contents?: true

Size: 662 Bytes

Versions: 5

Compression:

Stored size: 662 Bytes

Contents

# frozen_string_literal: true

require "rspec/core/rake_task"
require "rubocop/rake_task"

Dir.glob("#{File.expand_path(__dir__)}/lib/tasks/**/*.rake").each { |f| import f }

RuboCop::RakeTask.new(:style)
RSpec::Core::RakeTask.new(:spec)

require "yard"
YARD::Rake::YardocTask.new do |t|
  t.files   = %w[lib/sidekiq_unique_jobs/**/*.rb"]
  t.options = %w[
    --no-private
    --markup=markdown
    --markup-provider=redcarpet
    --readme README.md
  ]
end

task default: [:style, :spec]

task :release do
  sh("./update_docs.sh")
  sh("gem release --tag --push")
  Rake::Task["changelog"].invoke
  sh("gem bump --file lib/sidekiq_unique_jobs/version.rb")
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-6.0.13 Rakefile
sidekiq-unique-jobs-6.0.12 Rakefile
sidekiq-unique-jobs-6.0.11 Rakefile
sidekiq-unique-jobs-6.0.10 Rakefile
sidekiq-unique-jobs-6.0.9 Rakefile