Sha256: 91aaa32e535cc82c23f1c128cd32ae33e8acd901f35ef18968e423685afe24d7

Contents?: true

Size: 1.06 KB

Versions: 9

Compression:

Stored size: 1.06 KB

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'yard'
require 'rubocop/rake_task'

Rake::TestTask.new(:test) do |task|
  task.libs.push 'lib'
  task.libs.push 'test'
  task.pattern = 'test/**/*_test.rb'
  task.verbose = false
  task.warning = false # set to true for Ruby warnings (ruby -w)
end

YARD::Rake::YardocTask.new(:yard) do |task|
  task.files = [
    'lib/**/*.rb',
    '-',
    'docs/api.md',
    'docs/configuration.md',
    'docs/dsl.md',
    'docs/events.md',
    'docs/getting_started.md',
    'docs/object_graph.md',
    'docs/events/application.md',
    'docs/events/document.md',
    'docs/events/drb.md',
    'docs/events/focus.md',
    'docs/events/menu.md',
    'docs/events/movement.md',
    'docs/events/refresh.md',
    'docs/events/system.md',
    'docs/events/view.md',
    'docs/events/visibility.md',
  ]
  task.options = ['--highlight']
  task.stats_options = ['--list-undoc']
end

RuboCop::RakeTask.new(:rubocop) do |task|
  task.patterns = ['lib/**/*.rb']
  task.formatters = ['progress']
  task.fail_on_error = false
end

task default: :test

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vedeu-0.6.29 Rakefile
vedeu-0.6.28 Rakefile
vedeu-0.6.27 Rakefile
vedeu-0.6.26 Rakefile
vedeu-0.6.25 Rakefile
vedeu-0.6.24 Rakefile
vedeu-0.6.23 Rakefile
vedeu-0.6.22 Rakefile
vedeu-0.6.21 Rakefile