Sha256: 4f6163d48c21add3f5c73d16602e6e371e1392975d23aaccb517d65723292d7e

Contents?: true

Size: 734 Bytes

Versions: 4

Compression:

Stored size: 734 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.options = '-v'
  t.libs << 'test'
  t.libs << 'lib'
  t.test_files = FileList['test/**/*_test.rb']
end

desc 'make documents by yard'
task :yard do
  # api_output_dir = 'doc'
  YARD::Rake::YardocTask.new do |t|
    # t.options << '-o#{api_output_dir}' # output dir = doc_api
    # t.files=['**/*.md']
    t.options += ['--title', 'my_help']
    # t.options=['--exclude','lib.rb','--files','**/*.org']
    # see [[https://github.com/lsegal/yard/issues/66]] for the other options
  end
end

require 'rubocop/rake_task'

RuboCop::RakeTask.new

#task default: %i[test rubocop]
task :default do
  system "rake -T"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
my_help-1.2.2 Rakefile
my_help-1.2 Rakefile
my_help-1.1a Rakefile
my_help-1.1 Rakefile