rubyzip/Rakefile

26 lines
555 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2013-08-22 05:45:29 +08:00
require 'bundler/gem_tasks'
2005-02-14 05:44:15 +08:00
require 'rake/testtask'
2022-11-07 01:46:29 +08:00
require 'rdoc/task'
2019-09-15 23:44:51 +08:00
require 'rubocop/rake_task'
2009-12-31 23:25:47 +08:00
2015-03-25 00:10:04 +08:00
task default: :test
2005-02-14 05:44:15 +08:00
2010-11-27 15:15:18 +08:00
Rake::TestTask.new(:test) do |test|
test.libs << 'lib'
test.libs << 'test'
test.pattern = 'test/**/*_test.rb'
2010-11-27 15:15:18 +08:00
test.verbose = true
end
2013-08-27 04:26:14 +08:00
2022-11-07 01:46:29 +08:00
RDoc::Task.new do |rdoc|
rdoc.main = 'README.md'
rdoc.rdoc_files.include('README.md', 'lib/**/*.rb')
rdoc.options << '--markup=markdown'
rdoc.options << '--tab-width=2'
rdoc.options << "-t Rubyzip version #{Zip::VERSION}"
2022-11-07 01:46:29 +08:00
end
2019-09-15 23:44:51 +08:00
RuboCop::RakeTask.new