Add an envvar to prevent deps from being installed
It's optional and defaults to off but people can set it if they would like to install the dependencies in a different way.
This commit is contained in:
parent
4bffa9cb6b
commit
a64dcd0a0f
4
Build.PL
4
Build.PL
@ -27,7 +27,11 @@ my $build = Module::Build->new(
|
|||||||
},
|
},
|
||||||
script_files => ['slic3r.pl'],
|
script_files => ['slic3r.pl'],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (not $ENV{SLIC3R_NO_AUTO})
|
||||||
|
{
|
||||||
$build->dispatch('installdeps');
|
$build->dispatch('installdeps');
|
||||||
$build->dispatch('test', verbose => 0);
|
$build->dispatch('test', verbose => 0);
|
||||||
|
}
|
||||||
|
|
||||||
$build->create_build_script;
|
$build->create_build_script;
|
||||||
|
Loading…
Reference in New Issue
Block a user