From ddd5a3f103f7f27d987fd46d01f6a0a188865a61 Mon Sep 17 00:00:00 2001 From: Magnus Holm Date: Mon, 30 Jan 2012 09:38:25 +0100 Subject: [PATCH] Add Makefile --- .gitignore | 3 +++ Makefile.PL | 23 +++++++++++++++++++++++ lib/Parallol.pm | 2 ++ 3 files changed, 28 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile.PL diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6d66122 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +MYMETA.* +blib +Makefile diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..3f9c4a1 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,23 @@ +use 5.010001; + +use strict; +use warnings; + +use ExtUtils::MakeMaker; + +my ($mm) = $ExtUtils::MakeMaker::VERSION =~ /^([^_]+)/; + +WriteMakefile( + NAME => 'Parallol', + VERSION_FROM => 'lib/Parallol.pm', + ABSTRACT => 'Because parallel requests should be as fun as parallololololol!', + AUTHOR => 'Magnus Holm ', + + ($mm < 6.3002 ? () : ('LICENSE' => 'artistic_2')), + + PREREQ_PM => { + 'Mojolicious' => 0, + }, + test => {TESTS => 't/*.t'} +); + diff --git a/lib/Parallol.pm b/lib/Parallol.pm index 3a639d7..9d49e68 100644 --- a/lib/Parallol.pm +++ b/lib/Parallol.pm @@ -2,6 +2,8 @@ package Parallol; use Mojo::Base -base; +our $VERSION = '1.00'; + has on_done => sub { sub { } }; sub do {