Sha256: a0cdc6dd025146820d2fb7966d6ec70544be2eac974750084e8b82918b0c538f

Contents?: true

Size: 654 Bytes

Versions: 7

Compression:

Stored size: 654 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ul-wukong-4.1.1 Rakefile
ul-wukong-4.1.0 Rakefile
wukong-4.0.0 Rakefile
wukong-3.0.1 Rakefile
wukong-3.0.0 Rakefile
wukong-3.0.0.pre3 Rakefile
wukong-3.0.0.pre2 Rakefile