[DRE-commits] [SCM] gem2deb.git branch, master, updated. 0.2.13-9-g5892534

Antonio Terceiro terceiro at debian.org
Mon Jan 16 19:49:05 UTC 2012


The following commit has been merged in the master branch:
commit 5892534ac59df1304642e4aa6f7be942edd6bc78
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Jan 16 17:45:52 2012 -0200

    load a development version in the environment

diff --git a/HACKING b/HACKING
new file mode 100644
index 0000000..6bf06b4
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,12 @@
+Running a development gem2deb version without installing
+========================================================
+
+To debug a gem2deb source tree, you might want to run the contained programs
+against other packages, but you probably don't want to install a development
+version on your system just to be able to that. 
+
+$ . /path/to/gem2deb/tools/shell.bash
+
+This will make the programs in bin/ available in your $PATH, the Ruby code in
+lib/ available for Ruby and the debhelper Perl code in debhelper7/ available
+for debhelper.
diff --git a/tools/shell.bash b/tools/shell.bash
new file mode 100644
index 0000000..499859e
--- /dev/null
+++ b/tools/shell.bash
@@ -0,0 +1,6 @@
+#!/bin/sh
+gem2deb_root=$(readlink -f $BASH_SOURCE | xargs dirname | xargs dirname)
+export PATH="${gem2deb_root}/bin:${PATH}"
+export PERL5LIB="${gem2deb_root}/debhelper7"
+export RUBYLIB="${gem2deb_root}/lib"
+PS1="\033[31;40;01m** gem2deb debug **\033[m $PS1"

-- 
gem2deb.git



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