Sha256: dd4009c72c16a1bb2fbbab112b86e2c2aa46f4521a55b9586f43656e07d1339c

Contents?: true

Size: 721 Bytes

Versions: 2

Compression:

Stored size: 721 Bytes

Contents

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

# Remove the original :release task, we are redefining it below.
Rake::Task['release'].clear

# Run RSpec code examples
RSpec::Core::RakeTask.new :test

desc 'Run RuboCop lint checks'
RuboCop::RakeTask.new :lint

desc 'Run RuboCop lint checks and RSpec code examples'
task test: %i(lint spec)

desc 'Bump the version, tag a commit and deploy to RubyGems with Travis CI'
task release: %w(build release:guard_clean release:source_control_push) do
  Bundler.ui.confirm(
    'Please wait for Travis CI to push the working build to RubyGems.'
  )
end

# Run all tests, then build and install the gem on CI.
task default: %i(test install)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mass-0.0.2 Rakefile
mass-0.0.1 Rakefile