Sha256: 59325a1cb2a293fea09578842dc88627acb67137c7649f0f36b8f576b787e51a

Contents?: true

Size: 638 Bytes

Versions: 5

Compression:

Stored size: 638 Bytes

Contents

require 'bundler/gem_tasks'

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
rescue LoadError
  puts "Couldn't find RSpec core Rake task"
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new do |t|
    t.options = ['--verbose']
    t.files   = ['lib/**/*.rb', 'doc/**/*.md']
    t.stats_options = ['--list-undoc']
  end
rescue LoadError
  puts "Couldn't find YARD"
end

begin
  require 'yard-doctest'
  YARD::Doctest::RakeTask.new do |task|
    task.doctest_opts = %w[]
    task.pattern = 'lib/**/*.rb'
  end
rescue LoadError
  puts "Couldn't find yard-doctest"
end

task :default => [:spec, 'yard:doctest']

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sycamore-0.3.1 Rakefile
sycamore-0.3.0 Rakefile
sycamore-0.2.1 Rakefile
sycamore-0.2.0 Rakefile
sycamore-0.1.0 Rakefile