Sha256: 8e0a16261773e7f17b26954166c7b0adf374c41c452bf6be86df17329986bf54

Contents?: true

Size: 544 Bytes

Versions: 3

Compression:

Stored size: 544 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

begin
  require 'rspec/core/rake_task'

  desc 'Run specs'
  RSpec::Core::RakeTask.new do |t|
    t.rspec_opts = %w(--color)
    t.verbose = false
  end
rescue LoadError
  task :spec do
    abort 'install rspec to run specs ($ bundle install)'
  end
end

begin
  require 'yard'
  require 'yard/rake/yardoc_task'

  desc 'Generate documentation'
  YARD::Rake::YardocTask.new(:doc)
rescue LoadError
  task :doc do
    abort 'install yard to generate documentation ($ bundle install)'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vk-0.0.4 Rakefile
vk-0.0.3 Rakefile
vk-0.0.2 Rakefile