Revision cba0eaaecb0000c8e9803036ad4e44309058b928 authored by David Morton on 23 October 2012, 16:16:49 UTC, committed by David Morton on 23 October 2012, 16:18:10 UTC
1 parent dc6b73c
Raw File
Build.PL
#!/usr/bin/perl
# Use local perl, not some perl on an application server!

use Config;
use Module::Build;

BEGIN {
  unshift @INC, "$ENV{PWD}/blib/lib";
}

my $class = Module::Build->subclass (
    class => 'Pod::Builder',
    code => <<'EOS',

      sub ACTION_clean {
        # FIXME: is this safe?
        use File::Path qw/rmtree/;
        rmtree "./_build";
        rmtree "./blib";
        rmtree "./cmd-bindoc";
        unlink "./Build";
        unlink "./MYMETA.yml";
      }
EOS
);

my $build = $class->new(
  module_name => 'Workflow',
  license => 'lgpl',
  dist_version => '421',
  dist_abstract => 'Workflow engine using UR framework for Perl',
);

$build->create_build_script;
back to top