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

Version Path
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/cocoapods-stats-1.1.0/Rakefile
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/cocoapods-stats-1.1.0/Rakefile
cocoapods-stats-1.1.0 Rakefile
cocoapods-stats-1.0.0 Rakefile
cocoapods-stats-1.0.0.rc.1 Rakefile
cocoapods-stats-1.0.0.beta.4 Rakefile
cocoapods-stats-1.0.0.beta.3 Rakefile
cocoapods-stats-1.0.0.beta.2 Rakefile
cocoapods-stats-1.0.0.beta.1 Rakefile
cocoapods-git_url_rewriter-1.0.1 Rakefile
cocoapods-stats-0.6.2 Rakefile
cocoapods-stats-0.6.1 Rakefile
cocoapods-stats-0.6.0 Rakefile
cocoapods-git_url_rewriter-1.0.0 Rakefile
cocoapods-stats-0.5.3 Rakefile
cocoapods-stats-0.5.2 Rakefile
cocoapods-stats-0.5.1 Rakefile
cocoapods-stats-0.5.0 Rakefile