Skip to content
Browse files

add relish task

  • Loading branch information...
1 parent 2d9947b commit 39e9ca9abb37201912d49106582b4ef96e7c4fd8 @dchelimsky dchelimsky committed Oct 9, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 Rakefile
View
6 Rakefile
@@ -59,6 +59,12 @@ else
task :default => [:rcov, :cucumber]
end
+desc "Push cukes to relishapp using the relish-client-gem"
+task :relish, :path_to_relish, :version do |t, args|
+ raise "rake relish[PATH_TO_RELISH, VERSION]" unless args[:version] && args[:path_to_relish]
+ sh "ruby -rrubygems -S #{args[:path_to_relish]} --organization rspec --project rspec-core -v #{args[:version]} push"
+end
+
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "rspec-core #{RSpec::Core::Version::STRING}"

0 comments on commit 39e9ca9

Please sign in to comment.
Something went wrong with that request. Please try again.