Sha256: 798b233bc05fe834d09f9013d8b19288831045a02889cf44eea90dec0786baa3

Contents?: true

Size: 805 Bytes

Versions: 3

Compression:

Stored size: 805 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
require 'rspec/core/rake_task'
require 'kitchen/rake_tasks'

# 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("../", __FILE__))

# 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(:spec) do |t|
  t.rspec_opts = "--order defined"
end

# Default task is to run all tests
namespace :test do
  task :all do
    RSpec::Core::RakeTask.new(:spec)
    Rake::Task["spec"].execute
    Kitchen::RakeTasks.new
    Rake::Task['kitchen:all'].invoke
  end
end

task :default => 'test:all'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vagrant-ovirt4-1.2.3 Rakefile
vagrant-ovirt4-1.2.2 Rakefile
vagrant-ovirt4-1.2.1 Rakefile