Sha256: c4ce1e79e2b5b7eb1bdf2e1f8d77947798aab63f511a6a670e536a6f9b626468
Contents?: true
Size: 1.58 KB
Versions: 1
Compression:
Stored size: 1.58 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "rspactor" gem.summary = "RSpactor is a command line tool to automatically run your changed specs & cucumber features." gem.description = "RSpactor is a command line tool to automatically run your changed specs & cucumber features (much like autotest)." gem.email = "thibaud@thibaud.me" gem.homepage = "http://github.com/thibaudgg/rspactor" gem.authors = ["Mislav Marohnić", "Andreas Wolff", "Pelle Braendgaard", "Thibaud Guillaume-Gentil"] gem.add_dependency "ruby-fsevent", ">= 0.2.1" gem.add_development_dependency "rspec", ">= 1.2.9" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] end Spec::Rake::SpecTask.new(:rcov) do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end desc "starts RSpactor" task :rspactor do system "ruby -Ilib bin/rspactor" end task :spec => :check_dependencies task :default => :rspactor require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "rspactor #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspactor-0.6.2 | Rakefile |