brew.sh: HOMEBREW_SIMULATE_MACOS_ON_LINUX implies HOMEBREW_FORCE_HOMEBREW_ON_LINUX
This commit is contained in:
parent
4879cf1b48
commit
5660a1bf13
@ -323,6 +323,11 @@ case "$*" in
|
||||
--version|-v) source "$HOMEBREW_LIBRARY/Homebrew/cmd/--version.sh"; homebrew-version; exit 0 ;;
|
||||
esac
|
||||
|
||||
if [[ -n "$HOMEBREW_SIMULATE_MACOS_ON_LINUX" ]]
|
||||
then
|
||||
export HOMEBREW_FORCE_HOMEBREW_ON_LINUX="1"
|
||||
fi
|
||||
|
||||
if [[ -n "$HOMEBREW_MACOS" ]]
|
||||
then
|
||||
HOMEBREW_PRODUCT="Homebrew"
|
||||
|
||||
@ -262,7 +262,7 @@ module Homebrew
|
||||
},
|
||||
HOMEBREW_SIMULATE_MACOS_ON_LINUX: {
|
||||
description: "If set, running Homebrew on Linux will simulate certain macOS code paths. This is useful " \
|
||||
"when auditing macOS formulae while on Linux.",
|
||||
"when auditing macOS formulae while on Linux. Implies `HOMEBREW_FORCE_HOMEBREW_ON_LINUX`.",
|
||||
boolean: true,
|
||||
},
|
||||
HOMEBREW_SKIP_OR_LATER_BOTTLES: {
|
||||
|
||||
@ -1897,6 +1897,9 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just
|
||||
- `HOMEBREW_PRY`
|
||||
<br>If set, use Pry for the `brew irb` command.
|
||||
|
||||
- `HOMEBREW_SIMULATE_MACOS_ON_LINUX`
|
||||
<br>If set, running Homebrew on Linux will simulate certain macOS code paths. This is useful when auditing macOS formulae while on Linux. Implies `HOMEBREW_FORCE_HOMEBREW_ON_LINUX`.
|
||||
|
||||
- `HOMEBREW_SKIP_OR_LATER_BOTTLES`
|
||||
<br>If set along with `HOMEBREW_DEVELOPER`, do not use bottles from older versions of macOS. This is useful in development on new macOS versions.
|
||||
|
||||
|
||||
@ -2731,6 +2731,12 @@ If set, \fBbrew install\fR, \fBbrew upgrade\fR and \fBbrew reinstall\fR will nev
|
||||
If set, use Pry for the \fBbrew irb\fR command\.
|
||||
.
|
||||
.TP
|
||||
\fBHOMEBREW_SIMULATE_MACOS_ON_LINUX\fR
|
||||
.
|
||||
.br
|
||||
If set, running Homebrew on Linux will simulate certain macOS code paths\. This is useful when auditing macOS formulae while on Linux\. Implies \fBHOMEBREW_FORCE_HOMEBREW_ON_LINUX\fR\.
|
||||
.
|
||||
.TP
|
||||
\fBHOMEBREW_SKIP_OR_LATER_BOTTLES\fR
|
||||
.
|
||||
.br
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user