forked from genome/tgi-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.PL
More file actions
34 lines (28 loc) · 691 Bytes
/
Build.PL
File metadata and controls
34 lines (28 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/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;