Skip to content

Commit

Permalink
automate generation of docs during dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Jul 1, 2016
1 parent c684766 commit 7bc1752
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 6 additions & 0 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ sub ACTION_manifest {
($file, "Generated Pod") } @podpl;
maniadd \%pod;
}
sub ACTION_docs {
my $self = shift;
$self->process_PL_files;
$self->SUPER::ACTION_docs;
}
END_CODE
);

Expand Down
9 changes: 3 additions & 6 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,14 @@ eg/ScalarSimple.pl
eg/UnitDocExamples.pl
eg/UnitLists.pl
lib/Physics/Unit.pm
lib/Physics/Unit/GenUnitsByName.pod.PL
lib/Physics/Unit/GenUnitsByType.pod.PL
lib/Physics/Unit/Implementation.pod
lib/Physics/Unit/Scalar.pm
lib/Physics/Unit/Scalar/Implementation.pod
lib/Physics/Unit/Script.pm
lib/Physics/Unit/Script/GenPages.pm
lib/Physics/Unit/GenUnitsByName.pod.PL
lib/Physics/Unit/GenUnitsByType.pod.PL
MANIFEST This list of files
MANIFEST This list of files
README
t/scalar.t
t/unit.t
lib/Physics/Unit/UnitsByName.pod Generated Pod
lib/Physics/Unit/UnitsByType.pod Generated Pod
META.yml

0 comments on commit 7bc1752

Please sign in to comment.