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
8
Build.PL
8
Build.PL
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user