forked from fayland/perl-javascript-beautifier
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBuild.PL
28 lines (26 loc) · 786 Bytes
/
Build.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'JavaScript::Beautifier',
license => 'perl',
dist_author => 'Fayland Lam <[email protected]>',
dist_version_from => 'lib/JavaScript/Beautifier.pm',
build_requires => {
'Test::More' => '0.88',
'Getopt::Long' => 0,
'Pod::Usage' => 0,
'IO::File' => 0,
},
add_to_cleanup => [ 'JavaScript-Beautifier-*' ],
create_makefile_pl => 'traditional',
script_files => [
'bin/js_beautify.pl',
],
meta_merge => {
resources => {
repository => 'http://github.com/fayland/perl-javascript-beautifier/tree/master',
}
},
);
$builder->create_build_script();