Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Minor updates to Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Feb 17, 2016
1 parent b3d42fc commit 9e0dd85
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'yard'

task default: [:yard, :rubocop, :foodcritic, :spec]
task default: [:doc, :rubocop, :foodcritic, :spec]

desc 'Run all tasks'
task all: [:yard, :rubocop, :foodcritic, :spec, 'kitchen:all']
task all: [:doc, :rubocop, :foodcritic, :spec, 'kitchen:all']

desc 'Run kitchen integration tests'
task test: ['kitchen:all']
Expand All @@ -17,8 +17,7 @@ task doc: [:readme, :yard]

desc 'Generate README.md from _README.md.erb'
task :readme do
cmd = %w(knife cookbook doc -t _README.md.erb .)
sh(*cmd)
sh(*%w(bundle exec knife cookbook doc -t _README.md.erb .))
end

YARD::Config.load_plugin 'redcarpet-ext'
Expand Down

0 comments on commit 9e0dd85

Please sign in to comment.