
Per the mailing list thread, introducing Rubocop as a replacement for Tailor. Assuming Jenkins likes this, more pedantic patches will follow to make Rubocop happy. So far this is just spacing issues and adding UTF-8 headers, but more work will need to be done to remove all of the changes for the .rubocop-todo.yml Addresses: blueprint rubocop-for-block-storage Change-Id: Ibb11739e452016c101995a371d031faeeb7e7683
12 lines
816 B
Plaintext
12 lines
816 B
Plaintext
# Strainerfile
|
|
rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK/Gemfile --config $SANDBOX/$COOKBOOK/.rubocop.yml
|
|
rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK/metadata.rb --config $SANDBOX/$COOKBOOK/.rubocop.yml
|
|
rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK/attributes/ --config $SANDBOX/$COOKBOOK/attributes/.rubocop.yml
|
|
rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK/recipes/ --config $SANDBOX/$COOKBOOK/recipes/.rubocop.yml
|
|
rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK/spec/ --config $SANDBOX/$COOKBOOK/spec/.rubocop.yml
|
|
# rubocop: bundle exec rubocop $SANDBOX/$COOKBOOK
|
|
# may want to add rubocop check for Berksfile and Gemfile
|
|
knife test: bundle exec knife cookbook test $COOKBOOK
|
|
foodcritic: bundle exec foodcritic -f any -t ~FC003 $SANDBOX/$COOKBOOK
|
|
chefspec: bundle exec rspec $SANDBOX/$COOKBOOK/spec
|