Merge pull request #371 from shlomif/master

Add an env var to prevent the Build.PL from installing dependencies.
This commit is contained in:
Alessandro Ranellucci 2012-05-17 07:58:54 -07:00
commit 3344a67905

View file

@ -27,7 +27,11 @@ my $build = Module::Build->new(
},
script_files => ['slic3r.pl'],
);
$build->dispatch('installdeps');
$build->dispatch('test', verbose => 0);
if (not $ENV{SLIC3R_NO_AUTO})
{
$build->dispatch('installdeps');
$build->dispatch('test', verbose => 0);
}
$build->create_build_script;