Sha256: f80bb360e71e50f8f80c5cde05c907d648d023d66dd07810d5142f68568c370a

Contents?: true

Size: 803 Bytes

Versions: 2

Compression:

Stored size: 803 Bytes

Contents

# typed: false
# frozen_string_literal: true

namespace :sorbet do
  namespace :update do
    desc 'Update Sorbet and RBIs.'
    task :all do
      Bundler.with_unbundled_env do
        # Generate requires
        system('bundle exec tapioca require')
        # Fetch remotes sources
        system('bundle exec tapioca annotations')
        # Generate gems' RBIs
        system('bundle exec tapioca gems')
        # Generate DSL' RBIs
        system('bundle exec tapioca dsl')
        # Bump typed: false to true
        system('bundle exec spoom srb bump')
        # Bump typed: true to strict
        system('bundle exec spoom srb bump --from true --to strict')
        # Bump typed: strict to strong
        system('bundle exec spoom srb bump --from strict --to strong')
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
konstruo-1.0.1 tasks/sorbet.rake
konstruo-1.0.0 tasks/sorbet.rake