Skip to content

Commit

Permalink
remove func: install deps
Browse files Browse the repository at this point in the history
  • Loading branch information
FirePing32 committed Aug 24, 2024
1 parent b030fd1 commit f5f721a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions metacall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,6 @@ def python_executable
python.opt_libexec/"bin/python"
end

def install_dependencies
# Get all dependencies that are not build dependencies
runtime_deps = deps.reject(&:build?)

# Install only the runtime dependencies
runtime_deps.each do |dep|
if dep.installed?
opoo "#{dep} is already installed"
next
end

if !dep.optional? && !dep.recommended?
dep.to_formula.brew.install
end
end
end

def install
# Build path
build_dir = buildpath/"build"
Expand Down

0 comments on commit f5f721a

Please sign in to comment.