dev-cmd/edit: Actionable message about no API install
This commit is contained in:
parent
458512183b
commit
fc0d7ac21d
@ -70,9 +70,8 @@ module Homebrew
|
|||||||
!Homebrew::EnvConfig.no_env_hints? &&
|
!Homebrew::EnvConfig.no_env_hints? &&
|
||||||
(core_formula_path?(path) || core_cask_path?(path) || core_formula_tap?(path) || core_cask_tap?(path))
|
(core_formula_path?(path) || core_cask_path?(path) || core_formula_tap?(path) || core_cask_tap?(path))
|
||||||
end
|
end
|
||||||
opoo <<~EOS
|
ohai "To test your local edits, run:", <<~EOS
|
||||||
`brew install` ignores locally edited casks and formulae if
|
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --verbose --debug #{args.named.join(" ")}
|
||||||
HOMEBREW_NO_INSTALL_FROM_API is not set.
|
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user