File: Build.PL

package info (click to toggle)
libjavascript-beautifier-perl 0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 200 kB
  • sloc: perl: 1,004; makefile: 7
file content (33 lines) | stat: -rw-r--r-- 927 bytes parent folder | download | duplicates (2)
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
29
30
31
32
33
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
				 module_name         => 'JavaScript::Beautifier',
				 license             => 'perl',
				 dist_author         => 'Fayland Lam <fayland@gmail.com>',
				 dist_version_from   => 'lib/JavaScript/Beautifier.pm',
				 test_requires => {
						   'Pod::Usage' => 0,
						   'Test::More' => '0.88',
						   'IO::File' => 0,
						  },
				 requires => {
					      'perl' => ">=v5.10",
					      '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();