Skip to content
Snippets Groups Projects
Commit 9d3951dc authored by Gautham G's avatar Gautham G
Browse files

ARGV: Deprecate ARGV.ignore_deps?

parent 63ef04fd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -47,10 +47,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment