Skip to content

Commit 89c3268

Browse files
committed
Still run the tests if we're only building a single file.
1 parent d93104a commit 89c3268

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bin/rebuild

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ my $site = Ovid::Site->new(
2121
);
2222
$site->build;
2323

24-
# Skip tests when building a single file
25-
system( 'prove', '-l', 't' ) unless $options{notest} || defined $options{file};
24+
system( 'prove', '-l', 't' ) unless $options{notest};
2625
exit 0;
2726

2827
__END__
@@ -55,10 +54,11 @@ Only build this file.
5554
5655
=item B<--release>
5756
58-
Builds the site for release. This means that the site will be built, along with the search engine.
57+
Builds the site for release. This means that the site will be built, along
58+
with the search engine.
5959
6060
=item B<--notest>
6161
62-
Skips running the tests. This is useful if you are just trying to build the site quickly and don't care about the tests.
62+
Skips running the tests. Not recommended.
6363
6464
=back

0 commit comments

Comments
 (0)