mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
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:
parent
edabc6f4c7
commit
002f2327fe
@ -11,9 +11,7 @@ class Neovim < Formula
|
|||||||
|
|
||||||
def install
|
def install
|
||||||
ENV.deparallelize
|
ENV.deparallelize
|
||||||
system "sh", "-e", "scripts/compile-libuv.sh"
|
system "make", "deps"
|
||||||
system "sh", "-e", "scripts/compile-lua.sh"
|
|
||||||
system "sh", "-e", "scripts/setup-test-tools.sh"
|
|
||||||
system "cmake", "-DCMAKE_BUILD_TYPE=Debug", "-DCMAKE_PREFIX_PATH=.deps/usr", "-DLibUV_USE_STATIC=YES", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}"
|
system "cmake", "-DCMAKE_BUILD_TYPE=Debug", "-DCMAKE_PREFIX_PATH=.deps/usr", "-DLibUV_USE_STATIC=YES", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}"
|
||||||
system "make", "install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user