Sha256: 6affa7fd8f0d9b7748df459d1e10878c70571646b89a724a4b38ca5d678860dc

Contents?: true

Size: 883 Bytes

Versions: 32

Compression:

Stored size: 883 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

32 entries across 29 versions & 3 rubygems

Version Path
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/winrm-2.2.3/Rakefile
winrm-2.2.3 Rakefile
winrm-2.2.2 Rakefile
winrm-2.2.1 Rakefile
winrm-2.2.0 Rakefile
winrm-2.1.3 Rakefile
winrm-2.1.2 Rakefile
winrm-2.1.1 Rakefile
winrm-2.0.3 Rakefile
winrm-2.0.2 Rakefile
winrm-2.0.1 Rakefile
winrm-2.0.0 Rakefile