mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

- do some optimisation of `require`s before Bootsnap - remove `HOMEBREW_BOOTSTRAP` environment variable as it's set by default - add fast require in `bootsnap.rb` using logic from `ruby.sh` - cleanup `bootsnap.rb` a bit - remove setting `HOMEBREW_BOOTSNAP` in GitHub Actions
12 lines
340 B
Ruby
12 lines
340 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
# This file should be the first `require` in all entrypoints of `brew`.
|
|
# Bootsnap should be loaded as early as possible.
|
|
|
|
require_relative "standalone/init"
|
|
require_relative "startup/bootsnap"
|
|
require_relative "startup/ruby_path"
|
|
require "startup/config"
|
|
require_relative "standalone/sorbet"
|