]> git.mjollnir.org Git - cil.git/commitdiff
Added initial version of a Build.PL
authorPedro Melo <melo@simplicidade.org>
Fri, 25 Jul 2008 13:14:37 +0000 (14:14 +0100)
committerAndrew Chilton <andy@chilts.com>
Thu, 31 Jul 2008 08:48:24 +0000 (10:48 +0200)
You can use `cpan .` to install the module and all the dependencies now.

Signed-off-by: Pedro Melo <melo@simplicidade.org>
Build.PL [new file with mode: 0644]

diff --git a/Build.PL b/Build.PL
new file mode 100644 (file)
index 0000000..1cccf05
--- /dev/null
+++ b/Build.PL
@@ -0,0 +1,24 @@
+use strict;
+use warnings;
+use Module::Build;
+
+my $builder = Module::Build->new(
+    module_name         => 'CIL',
+    license             => 'perl',
+    dist_author         => 'Pedro Melo <melo@cpan.org>',
+    dist_version_from   => 'lib/CIL.pm',
+    build_requires => {
+        'Test::More'       => 0,
+        'Term::CallEditor' => 0,
+        'File::Touch'      => 0,
+        'File::Glob'       => 0,
+        'File::Basename'   => 0,
+        'MIME::Base64'     => 0,
+        'Email::Find'      => 0,
+        
+    },
+    add_to_cleanup      => [ 'CIL-*' ],
+    create_makefile_pl => 'traditional',
+);
+
+$builder->create_build_script();