Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 88550e7

Tweaked the Build.PL:

1. Moved modules to build_requires instead of requires.

2. Added the Makefile.PL generation.

  • Participants
  • Parent commits 1aa6f65

Comments (0)

Files changed (3)

 
 my $builder = Module::Build->new(
     module_name         => 'XML::CompareML',
-    license             => 'bsd',
+    license             => 'mit',
     dist_author         => 'Shlomi Fish <shlomif@iglu.org.il>',
     requires => {
-        'Test::More' => 0,
         'Class::Accessor' => 0,
         'XML::LibXML' => 0,
+    },
+    build_requires => {
+        'Test::More' => 0,
         'IO::Scalar' => 0,
     },
+    create_makefile_pl => 'traditional',
 );
 
 $builder->create_build_script();
 lib/XML/CompareML/DTD/Generate.pm
 lib/XML/CompareML/HTML.pm
 lib/XML/CompareML.pm
+Makefile.PL
 MANIFEST
 META.yml # Will be created by "make dist"
 README
 t/02sys-list.t
 t/files/scm-comparison.xml
 t/files/scm-sys-list-1.xml
+t/pod-coverage.t
 t/pod.t
-t/pod-coverage.t
 author:
   - 'Shlomi Fish <shlomif@iglu.org.il>'
 abstract: A processor for the CompareML markup language
-license: bsd
+license: mit
 resources:
-  license: http://www.opensource.org/licenses/bsd-license.php
+  license: http://opensource.org/licenses/mit-license.php
 requires:
   Class::Accessor: 0
+  XML::LibXML: 0
+build_requires:
   IO::Scalar: 0
   Test::More: 0
-  XML::LibXML: 0
 provides:
   XML::CompareML:
     file: lib/XML/CompareML.pm