Unverified Commit 66bf5808 authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #1382 from ikedas/rearrange_tidyall by ikedas

tidyallrc was not included in source dist
parents d4264e67 c93c7c2d
......@@ -77,7 +77,8 @@ check_DATA = \
t/samples/signed.eml \
t/samples/unsigned.eml \
t/stub/Sympa/Constants.pm \
xt/perlcriticrc
xt/perlcriticrc \
xt/tidyallrc
noinst_SCRIPTS = \
xt/critic.t \
xt/fixme.t \
......@@ -219,11 +220,11 @@ distcheck-hook:
-sha256sum $(DIST_ARCHIVES) > $(DIST_ARCHIVES).sha256
-openssl sha512 $(DIST_ARCHIVES) > $(DIST_ARCHIVES).sha512
# tidyall --conf-file doc/dot.tidyallrc --root-dir . --recursive src t xt
# tidyall --conf-file xt/tidyallrc --root-dir . --recursive src t xt
tidyall:
@ ( echo 'exit 1 if grep { $$_->error }'; \
echo 'Code::TidyAll->new_from_conf_file('; \
echo ' "doc/dot.tidyallrc", root_dir => ".", recursive => 1'; \
echo ')->process_paths(qw(src xt t))' \
echo ' "xt/tidyallrc", root_dir => ".", recursive => 1'; \
echo ')->process_paths(qw(src t xt))' \
) | $(PERL) -MCode::TidyAll
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment