You can clone with
HTTPS or Subversion.
I'm really enjoying foodcritic, and am working on getting pivotal_workstation linting on travis. It looks like there's some code that attempts to exit with an exit code, but it doesn't seem complete?
Awesome - that would be very cool.
It should set the exit code if you provide the -f / --epic-fail flag:
# Fail on any warning:
foodcritic -f any my_cookbook
# Fail for correctness problems only:
foodcritic -f correctness my_cookbook
# Fail on a specific warning only:
foodcritic -f FC005 my_cookbook
Let me know if that doesn't work for you though.
Ah, reading the docs would have helped more than reading the wrong check method. That works perfectly for me, I wrote up a blog post on using foodcritic with travis.
Any reason to not make '-f any' the default?
Nice one! Thanks for the blog post, the Travis team retweeted you pretty quickly too.
There were a couple of reasons at the time I shied away from making any the default:
I'll update the FAQ to call out the -f option so its more obvious, it's a bit buried at the moment.
Highlight failing the build in the FAQ, refs #21.