Sha256: 704eb70335aa00fbd65ca3251034a572eb2c3734c2be85bf876dc428b4113fef
Contents?: true
Size: 1.77 KB
Versions: 1
Compression:
Stored size: 1.77 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |g| g.name = "cukeq" g.summary = %Q{Distributed cucumbers} g.description = %Q{Cucumber features distributed using AMQP.} g.email = "jari.bakken@gmail.com" g.homepage = "http://github.com/jarib/cukeq" g.authors = ["Jari Bakken"] g.add_dependency "amqp" g.add_dependency "thin" g.add_dependency "json" g.add_dependency "git" g.add_development_dependency "rspec", ">= 2.0.0" g.add_development_dependency "yard", ">= 0" g.add_development_dependency "cucumber", ">= 0" g.add_development_dependency "rack-test", ">= 0" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end require 'rspec/core/rake_task' task :default => ["spec:coverage", "spec:coverage:verify"] RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = ["--color", "--format", "progress"] t.pattern = 'spec/**/*_spec.rb' t.rcov = false end namespace :spec do RSpec::Core::RakeTask.new(:coverage) do |t| t.rspec_opts = ["--color", "--format", "progress"] t.pattern = 'spec/**/*_spec.rb' t.rcov = true t.rcov_opts = ['--exclude-only', '".*"', '--include-file', '^lib'] end end task :spec => :check_dependencies begin require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) task :features => :check_dependencies rescue LoadError task :features do abort "Cucumber is not available. In order to run features, you must: sudo gem install cucumber" end end begin require 'yard' YARD::Rake::YardocTask.new rescue LoadError task :yardoc do abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cukeq-0.0.1.dev | Rakefile |