From 002f2327fe1e462985dbeb363e0bb8a69bcc96de Mon Sep 17 00:00:00 2001 From: Tayler Mulligan Date: Tue, 18 Mar 2014 21:22:30 -0700 Subject: [PATCH] Homebrew formula builds dependencies through make This way, if the dependencies change, and the install process needs to change to accommodate this, the Homebrew formula won't need revising. --- neovim.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/neovim.rb b/neovim.rb index 37fd2d3bdf..79e583a80a 100644 --- a/neovim.rb +++ b/neovim.rb @@ -11,9 +11,7 @@ class Neovim < Formula def install ENV.deparallelize - system "sh", "-e", "scripts/compile-libuv.sh" - system "sh", "-e", "scripts/compile-lua.sh" - system "sh", "-e", "scripts/setup-test-tools.sh" + system "make", "deps" system "cmake", "-DCMAKE_BUILD_TYPE=Debug", "-DCMAKE_PREFIX_PATH=.deps/usr", "-DLibUV_USE_STATIC=YES", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}" system "make", "install" end