diff options
| author | Wez Furlong | 2014-11-03 13:40:18 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-04 08:51:08 +0000 |
| commit | a3215c44263e75ad9d96fd55eb0f3851f94edc67 (patch) | |
| tree | 12438c86212711061455ad392439300eeb796ec4 /Library | |
| parent | 43398a07b98687f2cd2d29cbdc2629de236c7819 (diff) | |
| download | homebrew-a3215c44263e75ad9d96fd55eb0f3851f94edc67.tar.bz2 | |
watchman 3.0.0
Remove caveats section; it has not applied since watchman switched to
using fsevents.
(I am one of the watchman authors)
Closes #33883.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/watchman.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/watchman.rb b/Library/Formula/watchman.rb index 2801d79cb..ea1dcb26c 100644 --- a/Library/Formula/watchman.rb +++ b/Library/Formula/watchman.rb @@ -3,8 +3,8 @@ 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.9.8.tar.gz" - sha1 "f2ddfb5d42dce32da71dd789f63b705526fc9758" + url "https://github.com/facebook/watchman/archive/v3.0.0.tar.gz" + sha1 "cd62a0185401536455e3b6a67c3ee146e291ac9e" depends_on "autoconf" => :build depends_on "automake" => :build @@ -20,11 +20,13 @@ class Watchman < Formula 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 + test do + system "#{bin}/watchman", "shutdown-server" + system "#{bin}/watchman", "watch", testpath + list = `#{bin}/watchman watch-list` + if list.index(testpath) === nil then + raise "failed to watch tmpdir" + end + system "#{bin}/watchman", "watch-del", testpath end end |
