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.
This commit is contained in:
Tayler Mulligan 2014-03-18 21:22:30 -07:00 committed by Thiago de Arruda
parent edabc6f4c7
commit 002f2327fe

View File

@ -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