Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 17b62d4670
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.422 kB
require 'rubygems/package_task'
require 'rake/testtask'
require 'rake/clean'
spec = Gem::Specification.load 'oaktree.gemspec'
desc 'Run tests'
Rake::TestTask.new { |task|
task.libs << 'test'
files = FileList['test/**/test_*.rb'].to_a
task.test_files = files
}
desc "Build #{spec.name} #{spec.version.to_s}"
Gem::PackageTask.new(spec) { |task|
task.need_zip = true
}
CLEAN.include 'pkg'
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.