Skip to content

Commit 562bb2f

Browse files
committed
Relocate the XS file, os that {{{ExtUtils::MakeMaker}}} picks it up properly when doing a build.
1 parent 16518e3 commit 562bb2f

File tree

6 files changed

+11
-4
lines changed

6 files changed

+11
-4
lines changed

Build.PL

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Module::Build->new(
77
'license' => 'perl',
88
'dist_author' => 'Graham TerMarsch (cpan@howlingfrog.com)',
99
'create_makefile_pl'=> 'traditional',
10+
'xs_files' => {
11+
'XS.xs' => 'lib/JavaScript/Minifier/XS.xs',
12+
},
1013
'build_requires' => {
1114
'Test::More' => 0,
1215
},

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
Revision history for Perl extension JavaScript::Minifier::XS.
22

3+
0.01_02 Tue Oct 16 12:22 PDT 2007
4+
- relocate the XS file so that its picked up properly by EU::MM when
5+
running "perl Makefile.PL" to do a build.
6+
37
0.01_01 Mon Oct 15 22:11 PDT 2007
48
- initial public version

MANIFEST

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ MANIFEST
55
MANIFEST.SKIP
66
META.yml
77
README
8+
XS.xs
89
lib/JavaScript/Minifier/XS.pm
9-
lib/JavaScript/Minifier/XS.xs
1010
t/01-loads.t
1111
t/02-minify.t
1212
t/99-benchmark.t

META.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: JavaScript-Minifier-XS
3-
version: 0.01_01
3+
version: 0.01_02
44
author:
55
- Graham TerMarsch (cpan@howlingfrog.com)
66
abstract: XS based JavaScript minifier
@@ -12,7 +12,7 @@ build_requires:
1212
provides:
1313
JavaScript::Minifier::XS:
1414
file: lib/JavaScript/Minifier/XS.pm
15-
version: 0.01_01
15+
version: 0.01_02
1616
generated_by: Module::Build version 0.2805
1717
meta-spec:
1818
url: http://module-build.sourceforge.net/META-spec-v1.2.html
File renamed without changes.

lib/JavaScript/Minifier/XS.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require DynaLoader;
88
our @ISA = qw(Exporter DynaLoader);
99
our @EXPORT_OK = qw(minify);
1010

11-
our $VERSION = '0.01_01';
11+
our $VERSION = '0.01_02';
1212

1313
bootstrap JavaScript::Minifier::XS $VERSION;
1414

0 commit comments

Comments
 (0)