forked from Atalanta/cucumber-chef
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
35 lines (31 loc) · 1004 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development)
require 'rake'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber)
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "cucumber-chef"
gem.homepage = "http://cucumber-chef.org"
gem.license = "Apache v2"
gem.summary = "Tests Chef-built infrastructure"
gem.description = "Framework for behaviour-drive infrastructure development."
gem.email = "[email protected]"
gem.authors = ["Stephen Nelson-Smith"]
gem.has_rdoc = false
gem.bindir = "bin"
gem.files = `git ls-files`.split("\n")
gem.executables = %w(cucumber-chef)
end
Jeweler::RubygemsDotOrgTasks.new
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end