Sha256: 1cafcc84ed9cf9c85d520cd4f0a06ce1d9991b0a6ea0c0e8a195cfcfe7419c3e
Contents?: true
Size: 574 Bytes
Versions: 18
Compression:
Stored size: 574 Bytes
Contents
begin require 'bundler/setup' require 'bundler/gem_tasks' def specs(dir) FileList["spec/#{dir}/*_spec.rb"].shuffle.join(' ') end desc 'Runs all the specs' task :spec do sh "bundle exec bacon #{specs('**')}" Rake::Task['rubocop'].invoke end require 'rubocop/rake_task' RuboCop::RakeTask.new task default: :spec rescue LoadError, NameError $stderr.puts "\033[0;31m" \ '[!] Some Rake tasks haven been disabled because the environment ' \ 'couldn’t be loaded. Be sure to run `rake bootstrap` first.' \ "\e[0m" end
Version data entries
18 entries across 18 versions & 3 rubygems