App-githook-perltidy
view release on metacpan or search on metacpan
README from POD
githook-perltidy also has an automatic README-from-POD feature. To
enable it you create and commit a file called .readme_from
containing the name of the POD source file:
$ echo 'lib/Your/App.pm' > .readme_from
$ echo '^\.readme_from' >> MANIFEST.SKIP
$ git add .readme_from MANIFEST.SKIP
$ git commit -m 'githook-perltidy readme_from' && git push
With the above in place the README file will be updated (and
potentially committed) whenever lib/Your/App.pm is committed.
githook-perltidy install [--force, -f] [--absolute, -a]
Anyone making commits in your repository should ensure that
githook-perltidy runs before the Git commit completes. The "install"
command is used to create a pre-commit file in the $GIT_DIR/hooks/
directory. It must be run from the top-level directory of your
repository.
$ githook-perltidy install
bin/githook-perltidy view on Meta::CPAN
B<githook-perltidy> also has an automatic README-from-POD feature. To
enable it you create and commit a file called F<.readme_from>
containing the name of the POD source file:
$ echo 'lib/Your/App.pm' > .readme_from
$ echo '^\.readme_from' >> MANIFEST.SKIP
$ git add .readme_from MANIFEST.SKIP
$ git commit -m 'githook-perltidy readme_from' && git push
With the above in place the F<README> file will be updated (and
potentially committed) whenever F<lib/Your/App.pm> is committed.
=head2 githook-perltidy install [--force, -f] [--absolute, -a]
Anyone making commits in your repository should ensure that
B<githook-perltidy> runs before the Git commit completes. The
C<install> command is used to create a F<pre-commit> file in the
F<$GIT_DIR/hooks/> directory. It must be run from the top-level
directory of your repository.
( run in 0.342 second using v1.01-cache-2.11-cpan-05444aca049 )