From a64dcd0a0faf67c16531292f645365e18f38e246 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Thu, 17 May 2012 17:40:12 +0300 Subject: [PATCH] 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. --- Build.PL | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Build.PL b/Build.PL index b6c865f07..c25063c21 100644 --- a/Build.PL +++ b/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;