Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6fae135108
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 0.747 kb
require 'rake'
require 'yard'
require 'yard/rake/yardoc_task'
require File.expand_path('../lib/aurb/version', __FILE__)
task :build do
system 'gem build aurb.gemspec'
end
task :release => :build do
system "gem push aurb-#{Aurb::VERSION}.gem"
end
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'test'
test.ruby_opts << '-rubygems'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
end
namespace :test do
Rake::TestTask.new(:units) do |test|
test.libs << 'test'
test.ruby_opts << '-rubygems'
test.pattern = 'test/unit/**/*_test.rb'
test.verbose = true
end
end
task :default => :test
YARD::Rake::YardocTask.new(:doc) do |t|
t.options = ['--legacy'] if RUBY_VERSION < '1.9.0'
end
Jump to Line
Something went wrong with that request. Please try again.