Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address a number of issues #11

Merged
merged 11 commits into from Mar 29, 2018

Rearranging requires

Splitting "build_requires" into test_requires and requires, also
addresses #8
  • Loading branch information...
JJ committed Mar 29, 2018
commit 97ec46273ad783a745644db2609eae185ac2abf3
@@ -1,9 +1,16 @@
language: perl
sudo: false
perl:
- "5.18"
- "5.16"
- "5.14"
- "5.12"
- "5.10"
- "5.8"
- "5.20"
- "5.22"
- "5.24"
- "5.26"
- "latest"


@@ -3,19 +3,24 @@ 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',
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 => [
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 => {
@@ -7,7 +7,7 @@ Makefile.PL
MANIFEST This list of files
META.json
META.yml
README
README.md
t/00-load.t
t/01-javascript-beauty.t
t/pod.t
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.