summaryrefslogtreecommitdiff
path: root/lib/App/DocKnot/Dist.pm
diff options
context:
space:
mode:
authorRuss Allbery <rra@cpan.org>2021-09-06 23:40:41 -0700
committerRuss Allbery <rra@cpan.org>2021-09-06 23:44:16 -0700
commit86ce267739086ca64eacc3a86a50d75d061502e7 (patch)
tree7e75364c4993b86963fc3b83f2d13964d6ffc23b /lib/App/DocKnot/Dist.pm
parentf5975f7cf8901664b2feaf5d347f0e9c70d22226 (diff)
Fix spin with external converters
The refactorings broke external converters. Fix that, hopefully, and add a test for pod2html. Refactor the division of labor between the conversion methods and the common method so that it works without reinvoking spin via $FULLPATH. Drop the $FULLPATH global variable. Update perltidy configuration and apply the reformattings to avoid some really horrible formatting decisions in some of the new test code. Add a dependency on Pod::Thread, which is currently only used for the external script but will eventually be used for its API.
Diffstat (limited to 'lib/App/DocKnot/Dist.pm')
-rw-r--r--lib/App/DocKnot/Dist.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/App/DocKnot/Dist.pm b/lib/App/DocKnot/Dist.pm
index d644057..fc8c2e6 100644
--- a/lib/App/DocKnot/Dist.pm
+++ b/lib/App/DocKnot/Dist.pm
@@ -246,8 +246,10 @@ sub _sign_tarballs {
my @files = $self->_find_matching_tarballs($path, $prefix);
for my $file (@files) {
my $tarball_path = File::Spec->catdir($path, $file);
- systemx($self->{gpg}, '--detach-sign', '--armor', '-u',
- $self->{pgp_key}, $tarball_path);
+ systemx(
+ $self->{gpg}, '--detach-sign', '--armor', '-u',
+ $self->{pgp_key}, $tarball_path,
+ );
}
return;
}