Sha256: a1a5865de7c579f85c2834d1d8d2a5b29c563287ee79c31cc99e896600ee7b2d

Contents?: true

Size: 559 Bytes

Versions: 10

Compression:

Stored size: 559 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

begin
  require 'rspec/core/rake_task'

  task :default => [:unit_spec, :functional_spec]

  desc "Run all functional specs in spec directory"
  RSpec::Core::RakeTask.new(:functional_spec) do |t|
    t.pattern = 'spec/functional/**/*_spec.rb'
  end

  desc "Run all unit specs in spec directory"
  RSpec::Core::RakeTask.new(:unit_spec) do |t|
    t.pattern = 'spec/unit/**/*_spec.rb'
  end

rescue LoadError
  STDERR.puts "\n*** RSpec not available. (sudo) gem install rspec to run unit tests. ***\n\n"
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
knife-windows-1.9.6 Rakefile
knife-winops-2.1.0 Rakefile
knife-winops-2.0.0 Rakefile
knife-windows-1.9.1 Rakefile
knife-windows-1.9.0 Rakefile
knife-windows-1.4.0 Rakefile
knife-windows-1.2.1 Rakefile
knife-windows-1.1.0 Rakefile
knife-windows-1.0.0 Rakefile
knife-windows-1.0.0.rc.2 Rakefile