Sha256: 7291e23f3a9f682ff4b4df7ea5f6483b6efe64ac49da126a442b276c2f7900bb
Contents?: true
Size: 595 Bytes
Versions: 2
Compression:
Stored size: 595 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) 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zip_kit-6.3.1 | Rakefile |
zip_kit-6.3.0 | Rakefile |