You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2011/07/19 09:37:30 UTC

svn commit: r1148205 - in /buildr/trunk/rakelib: doc.rake rspec.rake setup.rake stage.rake

Author: donaldp
Date: Tue Jul 19 07:37:29 2011
New Revision: 1148205

URL: http://svn.apache.org/viewvc?rev=1148205&view=rev
Log:
Remove all the setup tasks from the build tools now that we have moved to bundler to manage dependencies

Removed:
    buildr/trunk/rakelib/setup.rake
Modified:
    buildr/trunk/rakelib/doc.rake
    buildr/trunk/rakelib/rspec.rake
    buildr/trunk/rakelib/stage.rake

Modified: buildr/trunk/rakelib/doc.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/doc.rake?rev=1148205&r1=1148204&r2=1148205&view=diff
==============================================================================
--- buildr/trunk/rakelib/doc.rake (original)
+++ buildr/trunk/rakelib/doc.rake Tue Jul 19 07:37:29 2011
@@ -18,8 +18,7 @@ task 'doc:setup'
 begin # For the Web site, we use the SDoc RDoc generator/theme (http://github.com/voloko/sdoc/)
   require 'sdoc'
 rescue LoadError
-  puts "Buildr uses the SDoc RDoc generator/theme. You can install it by running rake doc:setup"
-  task('doc:setup') { install_gem 'voloko-sdoc', :source=>'http://gems.github.com' }
+  puts "Buildr uses the SDoc RDoc generator/theme. You can install it by running bundler"
 end
 
 require 'rdoc/task'
@@ -71,18 +70,12 @@ begin
   end
 
 rescue LoadError
-  puts "Buildr uses the jekyll gem to generate the Web site. You can install it by running rake doc:setup"
-  task 'doc:setup' do
-    install_gem 'jekyll', :version=>'0.10.0'
-    install_gem 'jekylltask', :version=>'1.0.2'
-    if `pygmentize -V`.empty?
-      args = %w{easy_install Pygments}
-      args.unshift 'sudo' unless Config::CONFIG['host_os'] =~ /windows/
-      sh *args
-    end
-  end
+  puts "Buildr uses the jekyll gem to generate the Web site. You can install it by running bundler"
 end
 
+if `pygmentize -V`.empty?
+  puts "Buildr uses the Pygments python library. You can install it by running 'sudo easy_install Pygments'"
+end
 
 desc "Generate Buildr documentation as buildr.pdf"
 file 'buildr.pdf'=>'_site' do |task|

Modified: buildr/trunk/rakelib/rspec.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/rspec.rake?rev=1148205&r1=1148204&r2=1148205&view=diff
==============================================================================
--- buildr/trunk/rakelib/rspec.rake (original)
+++ buildr/trunk/rakelib/rspec.rake Tue Jul 19 07:37:29 2011
@@ -86,7 +86,5 @@ begin
   end
 
 rescue LoadError => e
-  puts "Buildr uses RSpec. You can install it by running rake setup"
-  task(:setup) { install_gem 'rcov', :version=>'~>0.8' }
-  task(:setup) { install_gem 'win32console' if RUBY_PLATFORM[/win32/] } # Colors for RSpec, only on Windows platform.
+  puts "Buildr uses RSpec. You can install it by running bundler"
 end

Modified: buildr/trunk/rakelib/stage.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/stage.rake?rev=1148205&r1=1148204&r2=1148205&view=diff
==============================================================================
--- buildr/trunk/rakelib/stage.rake (original)
+++ buildr/trunk/rakelib/stage.rake Tue Jul 19 07:37:29 2011
@@ -17,12 +17,6 @@
 require 'digest/md5'
 require 'digest/sha1'
 
-begin # Releases upload Gems to RubyForge.
-  require 'rubyforge'
-rescue LoadError
-  task(:setup) { install_gem 'rubyforge' }
-end
-
 gpg_cmd = 'gpg2'
 
 task :prepare do |task, args|