package Minilla::Release::DistTest;
use strict;
use warnings;
use utf8;
sub run {
my ($self, $project, $opts) = @_;
$opts->{test} or return;
local $ENV{RELEASE_TESTING} = 1;
my $work_dir = $project->work_dir();
if ($work_dir->dist_test) {
# Failed.
exit 1;
}
}
1;