[DRE-commits] [origami] 06/19: debian/rules: build local gemspec

Antonio Terceiro terceiro at moszumanska.debian.org
Fri Nov 7 00:22:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository origami.

commit 6ff62b1212031130ff443967a24dcaae2ff0478c
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Wed Sep 10 11:11:51 2014 -0300

    debian/rules: build local gemspec
---
 debian/rules | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/debian/rules b/debian/rules
index d81794d..2d8acd2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,12 @@
 #!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
+
+override_dh_auto_build:
+	rake
+	cp pkg/*.gem .
+
+override_dh_auto_clean:
+	rm -rf pkg/
+	dh_auto_clean
 
 %:
 	dh $@ --buildsystem=ruby --with ruby

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/origami.git



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