Move the clobber task outside the catch block and add a few directories to the list removed
git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1537852 13f79535-47bb-0310-9956-ffa450edef68 Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/a4b12acc Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/a4b12acc Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/a4b12acc Branch: refs/heads/master Commit: a4b12acc87d218fe1fe0b8bb040eb9aab77ec646 Parents: 6fcf5e2 Author: Peter Donald <[email protected]> Authored: Fri Nov 1 08:47:10 2013 +0000 Committer: Peter Donald <[email protected]> Committed: Fri Nov 1 08:47:10 2013 +0000 ---------------------------------------------------------------------- rakelib/doc.rake | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/a4b12acc/rakelib/doc.rake ---------------------------------------------------------------------- diff --git a/rakelib/doc.rake b/rakelib/doc.rake index 73fc46a..e090c30 100644 --- a/rakelib/doc.rake +++ b/rakelib/doc.rake @@ -125,15 +125,17 @@ task 'setup-local-site-svn' do end end +rescue Exception => e +# The doc tasks do not work on our CI infrastructure with jruby as the native libraries +# are not compatible with version of the C++ library we are running there +end + task 'clobber' do + rm_f 'rake/lib' rm_rf 'rake' + rm_rf 'rdoc' rm_rf 'site' rm_rf '_site' rm_f 'buildr.pdf' rm_f 'prince_errors.log' end - -rescue Exception => e -# The doc tasks do not work on our CI infrastructure with jruby as the native libraries -# are not compatible with version of the C++ library we are running there -end \ No newline at end of file
