Sha256: a62ac01e419baee03a53c53157a3122079e56933e973d3469dae98591dfdede5

Contents?: true

Size: 849 Bytes

Versions: 1

Compression:

Stored size: 849 Bytes

Contents

# encoding: UTF-8
require 'rubygems'
require 'bundler/setup'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'bundler/gem_tasks'

# Change to the directory of this file.
Dir.chdir(File.expand_path('../', __FILE__))

desc 'Open a Pry console for this library'
task :console do
  require 'pry'
  require 'winrm'
  ARGV.clear
  Pry.start
end

RSpec::Core::RakeTask.new(:spec) do |task|
  task.pattern = 'tests/spec/**/*_spec.rb'
  task.rspec_opts = ['--color', '-f documentation', '-r ./tests/spec/spec_helper']
end

# Run the integration test suite
RSpec::Core::RakeTask.new(:integration) do |task|
  task.pattern = 'tests/integration/*_spec.rb'
  task.rspec_opts = ['--color', '-f documentation', '-r ./tests/integration/spec_helper']
end

RuboCop::RakeTask.new

task default: [:spec, :rubocop]

task all: [:default, :integration]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
winrm-2.1.0 Rakefile