Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8e330ce79e
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (37 sloc) 1.3 kB
require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'
require 'cucumber/rake/task'
begin
require 'rubygems' unless ENV['NO_RUBYGEMS']
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "culerity"
s.summary = %Q{Culerity integrates Cucumber and Celerity in order to test your application's full stack.}
s.email = "alex@upstream-berlin.com"
s.homepage = "http://github.com/langalex/culerity"
s.description = "Culerity integrates Cucumber and Celerity in order to test your application's full stack."
s.authors = ["Alexander Lang"]
s.add_development_dependency 'cucumber'
s.add_development_dependency 'rspec'
end
rescue LoadError
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
end
desc "Run all unit specs"
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList['spec/*_spec.rb']
end
desc "Run all features"
Cucumber::Rake::Task.new(:features) do |t|
t.fork = true
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'pretty')]
end
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Culerity'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
task :default => :spec
Jump to Line
Something went wrong with that request. Please try again.