Skip to content

Commit

Permalink
watchman 2.8.2
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#21611.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
dsummersl authored and adamv committed Aug 7, 2013
1 parent f91340a commit a6df171
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Formula/watchman.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a6df171

Please sign in to comment.