Skip to content

Commit

Permalink
force documentation to get built when indexing
Browse files Browse the repository at this point in the history
With most dists, documentation will get built by set_authorized.  That
isn't reliable though, especially since for the perl dist, we skip that
method.
  • Loading branch information
haarg committed Nov 19, 2016
1 parent 39c816c commit 84dc71c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/MetaCPAN/Script/Release.pm
Expand Up @@ -255,6 +255,7 @@ sub import_archive {
push( @provides, $_->name ) if $_->indexed && $_->authorized;
}
$file->clear_module if ( $file->is_pod_file );
$file->documentation;
log_trace {"reindexing file $file->{path}"};
$bulk->put($file);
if ( !$document->has_abstract && $file->abstract ) {
Expand Down

0 comments on commit 84dc71c

Please sign in to comment.