Sha256: 8397832373c714b1cd508116f4e3412ae95275a783f566db99d431f9c7c33a99

Contents?: true

Size: 612 Bytes

Versions: 6

Compression:

Stored size: 612 Bytes

Contents

# encoding: utf-8
require 'rubygems'
require 'bundler'
Bundler.setup
Bundler::GemHelper.install_tasks

require 'cucumber/rake/task'
Cucumber::Rake::Task.new do |t|
  opts = defined?(JRUBY_VERSION) ? %w{--tags ~@jruby} : []
  opts += %w{--tags ~@fails-on-travis} if ENV['TRAVIS']
  opts += %w{--tags ~@wip}
  t.cucumber_opts = opts
end

require 'rspec/core/rake_task'
desc 'Run RSpec'
RSpec::Core::RakeTask.new do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rspec_opts = ['--color', '--format nested']
end

desc 'Run tests, both RSpec and Cucumber'
task :test => [:spec, :cucumber]

task :default => :test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hetzner-api-1.2.0 Rakefile
hetzner-api-1.1.0 Rakefile
hetzner-api-1.0.6 Rakefile
hetzner-api-1.0.5 Rakefile
hetzner-api-1.0.4 Rakefile
hetzner-api-1.0.3 Rakefile