Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (21 sloc) 0.387 kB
require 'rake/testtask'
begin
require 'mg'
rescue LoadError
abort "Please `gem install mg`"
end
MG.new("showoff.gemspec")
#
# Tests
#
task :default => :test
desc "Run tests"
task :turn do
suffix = "-n #{ENV['TEST']}" if ENV['TEST']
sh "turn test/*_test.rb #{suffix}"
end
Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
Jump to Line
Something went wrong with that request. Please try again.