Sha256: bb12f40d7119a199c08c0f1454f517bd99940b412ec8f6fe56b6eb58ac64f8ae

Contents?: true

Size: 970 Bytes

Versions: 4

Compression:

Stored size: 970 Bytes

Contents

#! /usr/bin/env ruby
# frozen_string_literal: true

require "sorbet-runtime"

unless ENV["ENFORCE_TYPECHECKING"] == "1"
  begin
    T::Configuration.default_checked_level = :never
    # Suppresses call validation errors
    T::Configuration.call_validation_error_handler = ->(*) {}
    # Suppresses errors caused by T.cast, T.let, T.must, etc.
    T::Configuration.inline_type_error_handler = ->(*) {}
    # Suppresses errors caused by incorrect parameter ordering
    T::Configuration.sig_validation_error_handler = ->(*) {}
  rescue
    # Need this rescue so that if another gem has
    # already set the checked level by the time we
    # get to it, we don't fail outright.
    nil
  end
end

unless defined?(Bundler)
  puts "Warning: You're running tapioca without Bundler. This isn't recommended and may cause issues. " \
    "Please use the provided binstub through `bin/tapioca` instead."
end

require_relative "../lib/tapioca/internal"

Tapioca::Cli.start(ARGV)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tapioca-0.16.8 exe/tapioca
tapioca-0.16.7 exe/tapioca
tapioca-0.16.6 exe/tapioca
tapioca-0.16.5 exe/tapioca