Sha256: 1c192dadb6b22bbdc358bfa5d03290c69bec2d21d656efebc0f6e0241b2e9ec7
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
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_dependency 'cucumber' s.add_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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
culerity-0.2.5 | Rakefile |