Permalink
Browse files

add a little relish

  • Loading branch information...
1 parent 319f1bf commit 68397299938b7d11572679a8f95cad3ec21575d4 @dchelimsky dchelimsky committed Oct 10, 2010
Showing with 4 additions and 3 deletions.
  1. +1 −0 Gemfile
  2. +3 −3 Rakefile
View
@@ -14,6 +14,7 @@ gem "syntax"
gem "rspec-core", :path => "."
gem "rspec-expectations", :path => "../rspec-expectations"
gem "rspec-mocks", :path => "../rspec-mocks"
+gem "relish"
unless RUBY_PLATFORM == "java"
gem "ruby-prof"
case RUBY_VERSION
View
@@ -60,9 +60,9 @@ else
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"
+task :relish, :version do |t, args|
+ raise "rake relish[VERSION]" unless args[:version]
+ sh "bundle exec relish --organization rspec --project rspec-core -v #{args[:version]} push"
end
Rake::RDocTask.new do |rdoc|

0 comments on commit 6839729

Please sign in to comment.