[DRE-commits] [SCM] ruby-ffi.git branch, master, updated. debian/1.0.11debian-2-4-g4f85c27

Antonio Terceiro terceiro at debian.org
Sun Jan 22 21:51:23 UTC 2012


The following commit has been merged in the master branch:
commit 9ecd273c7cfb69d96c9db5e0b26c9a52f0adcc48
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Jan 21 17:21:47 2012 -0200

    Clean test library in clean target
    
    This avoids building the test library once per Ruby version when running
    tests, *and* lets me clean the test library when I am building it by
    hand when doing porting work.

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index cc1762b..0293b75 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -8,4 +8,3 @@ end
 
 # cleanup test library
 require 'fileutils'
-FileUtils.rm_rf('build/')
diff --git a/debian/rules b/debian/rules
index a5e7dc8..8c78572 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,3 +13,7 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf build/

-- 
ruby-ffi.git



More information about the Pkg-ruby-extras-commits mailing list