Login
Merge r1573, C<nocolor> support in .perlcriticrc,
[gknop/Perl-Critic.git] / README.developer
CommitLineData
b672fd9e
CD
1Steps for adding a new Policy:
2
ed2cc500 3 * Create tests in t/[category]/[name].run
8de08c2e 4 * Create the .pm in lib/Perl/Critic/Policy/[category]/[name].pm
2e0f1c94
ES
5 * Ensure the files are in the MANIFEST so that t/00_modules.t can find them.
6 Add it to MANIFEST via "./Build manifest".
3f5f950c 7 * If it applies_to() PPI::Document, perhaps add an exception in t/03_pragmas.t
ba619093 8 * Add it to the POD in lib/Perl/Critic/PolicySummary.pod
b672fd9e 9 * Mention it in Changes
62927d12 10 * svn add lib/Perl/Critic/Policy/[category]/[name].pm
4677f746 11 * svn propset svn:keywords "URL Author Revision Date" lib/Perl/Critic/Policy/[category]/[name].pm
fc1186f9
CD
12
13 * Remove from TODO