Merge pull request #7176 from GauthamGoli/argv-cleanup-14
ARGV: Deprecate ARGV.ignore_deps?
This commit is contained in:
commit
996773a948
@ -22,7 +22,7 @@ class Build
|
||||
@formula = formula
|
||||
@formula.build = BuildOptions.new(options, formula.options)
|
||||
|
||||
if ARGV.ignore_deps?
|
||||
if Homebrew.args.ignore_deps?
|
||||
@deps = []
|
||||
@reqs = []
|
||||
else
|
||||
|
||||
@ -43,10 +43,6 @@ module HomebrewArgvExtension
|
||||
include?("--no-sandbox") || !ENV["HOMEBREW_NO_SANDBOX"].nil?
|
||||
end
|
||||
|
||||
def ignore_deps?
|
||||
include? "--ignore-dependencies"
|
||||
end
|
||||
|
||||
def build_stable?
|
||||
!(include?("--HEAD") || include?("--devel"))
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user