Sha256: 4b335bc4c7a67e1aab08d197b1d78668273e6a11c82fae68704f0c1708f7c589
Contents?: true
Size: 814 Bytes
Versions: 3
Compression:
Stored size: 814 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 :generate_typedefs do `bundle exec sord rbi/zip_kit.rbi` end task default: [:spec, :standard, :generate_typedefs] # When building the gem, generate typedefs beforehand, # so that they get included Rake::Task["build"].enhance(["generate_typedefs"])
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zip_kit-6.2.2 | Rakefile |
zip_kit-6.2.1 | Rakefile |
zip_kit-6.2.0 | Rakefile |