Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 0.449 kB
# encoding: utf-8
require "rubygems"
require "rspec/core/rake_task"
require 'yard'
desc "Run all specs"
RSpec::Core::RakeTask.new(:spec) do |t|
t.verbose = true
end
desc 'Default: Run all specs.'
task :default => :spec
task :doc => :yard
task :gem => :gemspec
def gemspec
@gemspec ||= eval(File.read('apiary.gemspec'), binding, '.gemspec')
end
YARD::Rake::YardocTask.new
desc "Validate the gemspec"
task :gemspec do
gemspec.validate
end
Jump to Line
Something went wrong with that request. Please try again.