Sha256: bd6ebbc3ebc8ff76899b630df43dd0b0e20dcd58c9f44adacdbe94461764db3d

Contents?: true

Size: 590 Bytes

Versions: 2

Compression:

Stored size: 590 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "yard"
require "rubocop/rake_task"
require "standard/rake"

task :format do
  `bundle exec standardrb --fix-unsafely`
  `bundle exec magic_frozen_string_literal ./lib`
end

YARD::Rake::YardocTask.new(:doc) do |t|
  # The dash has to be between the two to "divide" the source files and
  # miscellaneous documentation files that contain no code
  t.files = ["lib/**/*.rb", "-", "LICENSE.txt", "IMPLEMENTATION_DETAILS.md"]
end

RSpec::Core::RakeTask.new(:spec)
task default: [:spec, :standard]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
zip_kit-6.0.1 Rakefile
zip_kit-6.0.0 Rakefile