Sha256: 0d6a08eddb79a8be22c988e13cc342b597585e596eebb39e4cf3a2aa10055e93

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 Bytes

Contents

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubocop'
require 'yard'
YARD::Rake::YardocTask.new

Rake::TestTask.new do |t|
  t.libs << 'lib/docparser'
  t.test_files = FileList['test/lib/**/*_test.rb']
  t.verbose = true
end

task test: :rubocop

task :rubocop do
  puts "Running Rubocop #{Rubocop::Version::STRING}"
  args = FileList['**/*.rb', 'Rakefile', 'docparser.gemspec', 'Gemfile']
  cli = Rubocop::CLI.new
  fail unless cli.run(args) == 0
end

task default: :test

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
docparser-0.2.2 Rakefile
docparser-0.2.0 Rakefile
docparser-0.1.6 Rakefile