Sha256: 90b7dfbf8eebe4e70681f60128f4f1a2b63bf856d2028db128085a572520c7dc
Contents?: true
Size: 781 Bytes
Versions: 3
Compression:
Stored size: 781 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' ENV['CODECLIMATE_REPO_TOKEN'] ='6fd9c710b9a6e0da2011c62b81075b9bd620200a2a400f4dbeab9c88829f4cb6' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::HTMLFormatter, CodeClimate::TestReporter::Formatter ]) CodeClimate::TestReporter::Formatter.new.format(SimpleCov.result) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yawast-0.5.0.beta1 | Rakefile |
yawast-0.4.0 | Rakefile |
yawast-0.4.0.beta5 | Rakefile |