Sha256: 9d010f9d1970980339519e8baf1c3d3a030aa217954a2193afb0083091cc402c

Contents?: true

Size: 748 Bytes

Versions: 5

Compression:

Stored size: 748 Bytes

Contents

# frozen_string_literal: true

require 'rubygems'
require 'bundler/setup'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

# Immediately sync all stdout so that tools like buildbot can
# immediately load in the output.
$stdout.sync = true
$stderr.sync = true

# Change to the directory of this file.
Dir.chdir(File.expand_path(__dir__))

# This installs the tasks that help with gem creation and
# publishing.
Bundler::GemHelper.install_tasks

# Install the `spec` task so that we can run tests.
RSpec::Core::RakeTask.new

# Install the `rubocop` task
RuboCop::RakeTask.new

RuboCop::RakeTask.new(:rubocoplayout) do |t|
  t.options = ['--auto-correct --only ']
end

# Default task is to run the unit tests
task default: %w[rubocop spec]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-scp-sync-0.5.12 Rakefile
vagrant-scp-sync-0.5.11 Rakefile
vagrant-scp-sync-0.5.10 Rakefile
vagrant-scp-sync-0.5.9 Rakefile
vagrant-scp-sync-0.5.8 Rakefile