Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
FoodCritic Thor tasks for your Cookbook projects
branch: master

Merge pull request #5 from obazoud/patch-1

Update foodcritic dependency to 4.0 - fix #4
latest commit e38a99d539
Jamie Winsor authored
Failed to load latest commit information.
lib version bump 1.1.0
.gitignore initial commit
Gemfile initial commit
LICENSE update README and license
README.md update README and license
Thorfile initial commit
thor-foodcritic.gemspec Update foodcritic dependency to 4.0 - fix #4

README.md

thor-foodcritic

Food Critic Thor tasks for your Chef cookbook projects

Installation

gem install thor-foodcritic

Usage

To add the FoodCritic tasks to any Thorfile just require this gem

require 'thor/foodcritic'

And then get a list of your thor tasks

$ thor list

foodcritic
----------
thor foodcritic:lint  # Run a lint test against the Cookbook in your current working directory.

Run the lint task to get a review

$ thor foodcritic:lint

FC002: Avoid string interpolation where not required: ...
FC003: Check whether you are running with chef server before using server-specific features: ...
FC011: Missing README in markdown format: ...

If any epic failure tags are specified with the -f flag, Thor will exit with a status code of 100.

Author

Author:: Jamie Winsor (jamie@vialstudios.com)

Something went wrong with that request. Please try again.