RexOps / rexify-website

Website content and code for rexify.org
https://www.rexify.org
14 stars 31 forks source link

Clean up code examples #124

Closed ferki closed 4 years ago

ferki commented 4 years ago

While working on the sytax highlighting topic, I noticed that the code blocks could use some updates. This PR aims to improve the situation by the following:

ehuelsmann commented 4 years ago

Question: this depends on Perl::Tidy, do we want to add that to cpanfile? If yes, how it is the best to add? Perhaps some kind of author dependency?

I'd say something like this:

on develop => sub {
    requires 'Perl::Tidy';
}

which means it gets installed using cpanm --with-develop

ferki commented 4 years ago

Thanks for the tip about cpanfile! I think I'll merge this PR and then update the dependencies separately.