Sha256: 813c8dc4ab97e3aa17d26c8a99909fc7e2668b64da54e99ae76495d7dbe8783d
Contents?: true
Size: 627 Bytes
Versions: 5
Compression:
Stored size: 627 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
yawast-0.7.2 | Rakefile |
yawast-0.7.1 | Rakefile |
yawast-0.7.0 | Rakefile |
yawast-0.7.0.beta3 | Rakefile |
yawast-0.7.0.beta2 | Rakefile |