From: Matt S Trout Date: Wed, 27 Jun 2007 03:08:49 +0000 (+0000) Subject: moved .xs file to correct place, test.pl removed X-Git-Tag: 0.001000~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0b134f1763bebbd7d3086f11b12777445267a2b8;p=p5sagit%2FDevel-BeginLift.git moved .xs file to correct place, test.pl removed --- diff --git a/Makefile.PL b/Makefile.PL index 5c2e3cc..1ab8fa4 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,4 +5,6 @@ license 'perl'; author 'Matt S Trout'; all_from 'lib/Devel/BeginLift.pm'; +makemaker_args(XS => { 'lib/Devel/BeginLift.xs' => 'lib/Devel/BeginList.c' }); + WriteMakefile; diff --git a/BeginLift.xs b/lib/Devel/BeginLift.xs similarity index 100% rename from BeginLift.xs rename to lib/Devel/BeginLift.xs diff --git a/test.pl b/test.pl deleted file mode 100644 index 8da537a..0000000 --- a/test.pl +++ /dev/null @@ -1,21 +0,0 @@ -use Devel::BeginLift 'foo'; - -use vars qw($int); - -BEGIN { $int = 1 } - -sub foo { warn "foo: $_[0]\n"; $int++; 4; } - -sub bar { warn "bar: $_[0]\n"; } - -warn "yep\n"; - -warn foo("foo"); - -warn bar("bar"); - -warn "yep2: $int\n"; - -no Devel::BeginLift; - -foo();