From: Vincent Pit <vince@profvince.com>
Date: Sat, 6 Dec 2008 16:50:28 +0000 (+0100)
Subject: The samples/g-cpanp script
X-Git-Tag: v0.04~3
X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=2afdefe0eb7ee6588c31f08493e11371590aabfa;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git

The samples/g-cpanp script
---

diff --git a/MANIFEST b/MANIFEST
index 39051ee..bdb387f 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -3,6 +3,7 @@ MANIFEST
 Makefile.PL
 README
 lib/CPANPLUS/Dist/Gentoo.pm
+samples/g-cpanp
 t/00-load.t
 t/90-boilerplate.t
 t/91-pod.t
diff --git a/samples/g-cpanp b/samples/g-cpanp
new file mode 100755
index 0000000..6208c23
--- /dev/null
+++ b/samples/g-cpanp
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+HEADER="# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2"
+
+# For debugging only :
+# PERL5LIB=blib/lib \
+exec cpan2dist --format=CPANPLUS::Dist::Gentoo \
+               --dist-opts manifest=yes        \
+               --dist-opts keywords=amd64      \
+               --dist-opts header="$HEADER"    \
+               --skiptest --verbose            \
+               $@