Author: donaldp
Date: Sun Oct 6 07:42:20 2013
New Revision: 1529582
URL: http://svn.apache.org/r1529582
Log:
Ensure that the clobber task removes all the files generated by the build
process
Modified:
buildr/trunk/rakelib/doc.rake
buildr/trunk/rakelib/package.rake
buildr/trunk/rakelib/release.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=1529582&r1=1529581&r2=1529582&view=diff
==============================================================================
--- buildr/trunk/rakelib/doc.rake (original)
+++ buildr/trunk/rakelib/doc.rake Sun Oct 6 07:42:20 2013
@@ -126,6 +126,8 @@ task 'setup-local-site-svn' do
end
task 'clobber' do
+ rm_rf 'rake'
+ rm_rf 'site'
rm_rf '_site'
rm_f 'buildr.pdf'
rm_f 'prince_errors.log'
Modified: buildr/trunk/rakelib/package.rake
URL:
http://svn.apache.org/viewvc/buildr/trunk/rakelib/package.rake?rev=1529582&r1=1529581&r2=1529582&view=diff
==============================================================================
--- buildr/trunk/rakelib/package.rake (original)
+++ buildr/trunk/rakelib/package.rake Sun Oct 6 07:42:20 2013
@@ -15,7 +15,7 @@
require 'rubygems/package_task'
-package = Gem::PackageTask.new(spec) do |pkg|
+Gem::PackageTask.new(spec) do |pkg|
pkg.need_tar = true
pkg.need_zip = true
end
Modified: buildr/trunk/rakelib/release.rake
URL:
http://svn.apache.org/viewvc/buildr/trunk/rakelib/release.rake?rev=1529582&r1=1529581&r2=1529582&view=diff
==============================================================================
--- buildr/trunk/rakelib/release.rake (original)
+++ buildr/trunk/rakelib/release.rake Sun Oct 6 07:42:20 2013
@@ -167,3 +167,4 @@ The Apache Buildr Team
end
task('clobber') { rm_rf '_release' }
+task('clobber') { rm_rf 'announce-email.txt' }
Modified: buildr/trunk/rakelib/rspec.rake
URL:
http://svn.apache.org/viewvc/buildr/trunk/rakelib/rspec.rake?rev=1529582&r1=1529581&r2=1529582&view=diff
==============================================================================
--- buildr/trunk/rakelib/rspec.rake (original)
+++ buildr/trunk/rakelib/rspec.rake Sun Oct 6 07:42:20 2013
@@ -56,4 +56,5 @@ task 'ci' => %w(clobber load_ci_reporter
task 'clobber' do
rm_f 'failed'
rm_rf '_reports'
+ rm_rf 'tmp'
end
Modified: buildr/trunk/rakelib/stage.rake
URL:
http://svn.apache.org/viewvc/buildr/trunk/rakelib/stage.rake?rev=1529582&r1=1529581&r2=1529582&view=diff
==============================================================================
--- buildr/trunk/rakelib/stage.rake (original)
+++ buildr/trunk/rakelib/stage.rake Sun Oct 6 07:42:20 2013
@@ -231,3 +231,4 @@ The following changes were made since #{
end
task('clobber') { rm_rf '_staged' }
+task('clobber') { rm_rf 'vote-email.txt' }