From eaa4f2b9ce99eeddef0b21c7ba3f913d36d038eb Mon Sep 17 00:00:00 2001 From: Cameron Eagans Date: Sun, 23 Feb 2014 14:08:33 -0700 Subject: [PATCH 1/3] Adding neovim formula for Homebrew --- neovim.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 neovim.rb diff --git a/neovim.rb b/neovim.rb new file mode 100644 index 0000000000..f8c7c1b087 --- /dev/null +++ b/neovim.rb @@ -0,0 +1,15 @@ +require 'formula' + +class Neovim < Formula + homepage 'http://neovim.org' + head 'https://github.com/neovim/neovim.git' + + depends_on 'md5sha1sum' + depends_on 'cmake' + depends_on 'libtool' + depends_on 'automake' + + def install + system "make", "PREFIX=#{prefix}", "cmake" + end +end From 2acddd7cb26a46cccb5a40416bcdcdc491230175 Mon Sep 17 00:00:00 2001 From: Cameron Eagans Date: Sun, 23 Feb 2014 14:28:07 -0700 Subject: [PATCH 2/3] Adding `make` step --- neovim.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/neovim.rb b/neovim.rb index f8c7c1b087..45e8b4018a 100644 --- a/neovim.rb +++ b/neovim.rb @@ -11,5 +11,6 @@ class Neovim < Formula def install system "make", "PREFIX=#{prefix}", "cmake" + system "make", "PREFIX=#{prefix}" end end From 8614983e4ede98195db1586ef6ef3acb83310f3e Mon Sep 17 00:00:00 2001 From: Cameron Eagans Date: Sun, 23 Feb 2014 14:28:31 -0700 Subject: [PATCH 3/3] Updating README file to use Homebrew for local builds --- README.md | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 6ac5eee2e1..3c1f1b523d 100644 --- a/README.md +++ b/README.md @@ -181,26 +181,16 @@ For Debian/Ubuntu: For FreeBSD 10: sudo pkg install cmake libtool sha - + For OsX: -* Install [Xcode](https://developer.apple.com/) -* Install sha1sum +* Install [Xcode](https://developer.apple.com/) and [Homebrew][http://brew.sh] - Via MacPorts: - - sudo port install md5sha1sum cmake libtool automake - - Via Homebrew: - - brew install md5sha1sum cmake libtool automake For Arch Linux: sudo pacman -S base-devel cmake ncurses - - ###Building To generate the `Makefile`s: @@ -211,6 +201,10 @@ To build and run the tests: make test +Using Homebrew on Mac: + + brew install neovim/neovim/neovim + ### Community Join the community on IRC in #neovim on Freenode.