[DRE-commits] [ruby-haml-rails] 03/03: Add code to remove tmp folder
Balasankar C
balasankarc-guest at moszumanska.debian.org
Tue Jan 20 18:53:55 UTC 2015
This is an automated email from the git hooks/post-receive script.
balasankarc-guest pushed a commit to branch master
in repository ruby-haml-rails.
commit 015628b5dc9d0c13552de5317715d5513fad8f11
Author: Balasankar C <balasankarc at autistici.org>
Date: Tue Jan 20 23:34:22 2015 +0530
Add code to remove tmp folder
---
debian/ruby-tests.rake | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index e83b2ba..135d0cd 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -4,3 +4,8 @@ Gem2Deb::Rake::TestTask.new do |t|
t.libs << 'lib' << 'test'
t.test_files = FileList['test/**/*_test.rb']
end
+
+at_exit do
+ filepath = File.join(File.dirname(__FILE__),'..','tmp')
+ system('rm', '-rf', filepath)
+end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-haml-rails.git
More information about the Pkg-ruby-extras-commits
mailing list