Revision: 768 http://trac.macosforge.org/projects/ruby/changeset/768 Author: eloy.de.enige@gmail.com Date: 2008-12-23 03:16:57 -0800 (Tue, 23 Dec 2008) Log Message: ----------- Updated the rake task which installs the test/spec and mocha gems. (rake rubycocoa:install_test_spec_and_mocha) Modified Paths: -------------- MacRuby/trunk/Rakefile Modified: MacRuby/trunk/Rakefile =================================================================== --- MacRuby/trunk/Rakefile 2008-12-23 10:57:32 UTC (rev 767) +++ MacRuby/trunk/Rakefile 2008-12-23 11:16:57 UTC (rev 768) @@ -652,11 +652,14 @@ desc 'For lack of working RubyGems this is a task that installs the dependencies for the RubyCocoa layer tests' task :install_test_spec_and_mocha do - get 'http://files.rubyforge.vm.bytemark.co.uk/test-spec/test-spec-0.4.0.tar.gz' - install '/tmp/test-spec-0.4.0/lib/test' + test_spec = '0.9.0' + mocha = '0.9.3' - get 'http://files.rubyforge.mmmultiworks.com/mocha/mocha-0.5.6.tgz' - mocha = '/tmp/mocha-0.5.6' + get "http://files.rubyforge.vm.bytemark.co.uk/test-spec/test-spec-#{test_spec}.tar.gz" + install "/tmp/test-spec-#{test_spec}/lib/test" + + get "http://files.rubyforge.mmmultiworks.com/mocha/mocha-#{mocha}.tgz" + mocha = "/tmp/mocha-#{mocha}" FileList["#{mocha}/lib/*.rb", "#{mocha}/lib/mocha"].each { |f| install f } end
participants (1)
-
source_changes@macosforge.org