Entry tags:
perltidy now required!
Hi all,
I've gone ahead and run perltidy on our codebase and added a test that will run and tell you if things are tidy or not. This is now required for all PRs and code we're merging.
To set up and run it locally, first make sure your modules are up to date:
bin/checkconfig.pl
This will probably ask you to install some modules, do so! Then you can run tidyall
and it will automatically reformat all of your files as necessary:
perl -I$LJHOME/extlib/lib/perl5 $LJHOME/extlib/bin/tidyall -a
The first time you run this will take a while. It caches the results though so further runs will be much, much faster.
That should be it -- let me know if this works for you or if you have any issues!