Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.3.7
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (32 sloc) 0.725 kb
require "rubygems"
require "bundler/gem_tasks"
require 'rake/testtask'
require 'rake/clean'
$:.unshift(File.dirname(__FILE__) + "/lib")
CLEAN << ['pkg', 'test/output/*']
desc "Run tests"
task :default => :test
Rake::TestTask.new do |t|
t.libs << 'test'
end
namespace :test do
desc "Run mini tests"
task :mini => :clean do
Dir['test/test_mini*'].each do |file|
system "ruby #{file}"
end
end
end
##
# Catch unmatched tasks and run them as a unit test.
# Makes it possible to do
#
# rake pie
#
# To run the +test/test_pie+ and +test/test_mini_pie+ files.
#rule '' do |t|
# # Rake::Task["clean"].invoke
# Dir["test/test_*#{t.name}*.rb"].each do |filename|
# system "ruby #{filename}"
# end
#end
Jump to Line
Something went wrong with that request. Please try again.