Sha256: 9cb85dee5aad6c97f5b6dc8e395bbeb73e49f44735192be0ce85cb0051cd9e1f

Contents?: true

Size: 626 Bytes

Versions: 19

Compression:

Stored size: 626 Bytes

Contents

require 'rake/testtask'

task :default => [:codeclimate]

task :test do
  #set this, so that we can modify behavior based on where's it's ran from
  ENV['FROM_RAKE'] = 'true'

  require File.join(File.dirname(__FILE__), 'test/test_helper')
  Dir.glob('./test/test_*.rb').each { |file| require file}

  require 'minitest'
  Minitest.run
end

task :codeclimate do
  Rake::Task['test'].execute

  require 'simplecov'
  require 'codeclimate-test-reporter'
end

task :submitcodeclimate do
  ENV['CODECLIMATE_REPO_TOKEN'] ='6fd9c710b9a6e0da2011c62b81075b9bd620200a2a400f4dbeab9c88829f4cb6'

  system 'codeclimate-test-reporter'
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
yawast-0.7.0.beta1 Rakefile
yawast-0.6.0 Rakefile
yawast-0.6.0.beta6 Rakefile
yawast-0.6.0.beta5 Rakefile
yawast-0.6.0.beta4 Rakefile
yawast-0.6.0.beta3 Rakefile
yawast-0.6.0.beta2 Rakefile
yawast-0.6.0.beta1 Rakefile
yawast-0.5.2 Rakefile
yawast-0.5.1 Rakefile
yawast-0.5.1.beta1 Rakefile
yawast-0.5.0 Rakefile
yawast-0.5.0.beta8 Rakefile
yawast-0.5.0.beta7 Rakefile
yawast-0.5.0.beta6 Rakefile
yawast-0.5.0.beta5 Rakefile
yawast-0.5.0.beta4 Rakefile
yawast-0.5.0.beta3 Rakefile
yawast-0.5.0.beta2 Rakefile