Sha256: 9d010f9d1970980339519e8baf1c3d3a030aa217954a2193afb0083091cc402c

Contents?: true

Size: 748 Bytes

Versions: 22

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

22 entries across 22 versions & 1 rubygems

Version Path
vagrant-scp-sync-0.5.29 Rakefile
vagrant-scp-sync-0.5.28 Rakefile
vagrant-scp-sync-0.5.27 Rakefile
vagrant-scp-sync-0.5.26 Rakefile
vagrant-scp-sync-0.5.25 Rakefile
vagrant-scp-sync-0.5.24 Rakefile
vagrant-scp-sync-0.5.23 Rakefile
vagrant-scp-sync-0.5.22 Rakefile
vagrant-scp-sync-0.5.21 Rakefile
vagrant-scp-sync-0.5.20 Rakefile
vagrant-scp-sync-0.5.19 Rakefile
vagrant-scp-sync-0.5.18 Rakefile
vagrant-scp-sync-0.5.17 Rakefile
vagrant-scp-sync-0.5.16 Rakefile
vagrant-scp-sync-0.5.15 Rakefile
vagrant-scp-sync-0.5.14 Rakefile
vagrant-scp-sync-0.5.13 Rakefile
vagrant-scp-sync-0.5.12 Rakefile
vagrant-scp-sync-0.5.11 Rakefile
vagrant-scp-sync-0.5.10 Rakefile