diff options
| author | Dane Summers | 2013-08-02 07:48:26 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-07 09:41:25 -0700 |
| commit | abfaffc4a971788f3d09d04e69e49dc11b6fa96b (patch) | |
| tree | d4953fe8afa5b1e1a41f0124a762b02f6d532beb | |
| parent | 4367f3704f4b0b33a51e39dcfaf7b71384cb75a1 (diff) | |
| download | homebrew-abfaffc4a971788f3d09d04e69e49dc11b6fa96b.tar.bz2 | |
watchman 2.8.2
Closes #21611.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/watchman.rb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Library/Formula/watchman.rb b/Library/Formula/watchman.rb new file mode 100644 index 000000000..216ecad4b --- /dev/null +++ b/Library/Formula/watchman.rb @@ -0,0 +1,30 @@ +require 'formula' + +class Watchman < Formula + homepage 'https://github.com/facebook/watchman' + head 'https://github.com/facebook/watchman.git' + url 'https://github.com/facebook/watchman/archive/v2.8.2.tar.gz' + sha1 'd46f5fa29de4fb30d7dcc0ec7998099567b09a5f' + + depends_on :autoconf + depends_on :automake + depends_on 'pkg-config' => :build + depends_on 'pcre' + + def install + system "./autogen.sh" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-pcre" + system "make" + system "make install" + end + + def caveats; <<-EOS.undent + To increase file limits add 'kern.maxfiles=10485760' and 'kern.maxfilesperproc=10485760' + to /etc/sysctl.conf (use 'sysctl -w' to do so immediately). + + See https://github.com/facebook/watchman#max-os-file-descriptor-limits + EOS + end +end |
