Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (22 sloc) 0.654 kb
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:specs)
require 'yard'
YARD::Rake::YardocTask.new
desc 'Run RSpec with code coverage'
task :cov do
ENV['WUKONG_COV'] = true
Rake::Task[:specs].execute
end
task :default => :specs
desc "Create a TAGS file for this project"
task :tags do
files = [%w[Gemfile Guardfile Rakefile README.md].map { |b| File.join(File.dirname(__FILE__), b) }]
%w[bin examples lib spec].each do |dir|
files << Dir[File.join(File.dirname(__FILE__), "#{dir}/**/*.rb")]
end
files.each do |arry|
sh "etags", '-a', *arry unless arry.empty?
end
end
Jump to Line
Something went wrong with that request. Please try again.