Skip to content

Instantly share code, notes, and snippets.

@scottbarrow
Created October 26, 2018 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottbarrow/9bb26e0d5999bb00294ef348278d7467 to your computer and use it in GitHub Desktop.
Save scottbarrow/9bb26e0d5999bb00294ef348278d7467 to your computer and use it in GitHub Desktop.
desc 'Run the entire suit of tests and linters'
task :default do
border = '=' * 80
tasks = %w[rspec bundle:audit]
puts "The following Rake tasks will be run: #{tasks.to_sentence}"
tasks.each do |task|
puts "\n#{border}\nRunning `rake #{task}`\n#{border}"
Rake::Task[task].invoke
end
puts 'Success.'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment