Files
brew/Library/Homebrew/cmd/setup-sandbox.rb
T
Mike McQuaid a642916b83 Route sandbox setup through brew setup-sandbox
- Shell out to `brew setup-sandbox` from `configure!` rather than
  duplicating the `sysctl` writes in Ruby.
- Install Bubblewrap on GitHub Actions runners via whichever
  package manager is available.
- Suggest a distro-specific Bubblewrap install command when
  `brew doctor` reports a missing sandbox.
- Add tests for the `brew setup-sandbox` command.
2026-06-13 11:50:04 +01:00

21 lines
417 B
Ruby

# typed: strict
# frozen_string_literal: true
require "abstract_command"
require "shell_command"
module Homebrew
module Cmd
class SetupSandbox < AbstractCommand
include ShellCommand
cmd_args do
description <<~EOS
Run any necessary commands to setup the Homebrew sandbox.
Must be run with `sudo`. Currently a no-op on non-Linux.
EOS
end
end
end
end