aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-09-12 10:27:09 +0100
committerMike McQuaid2013-09-12 10:27:09 +0100
commitd0f48601e3424d2bedd6158c6acd019bbee2fb90 (patch)
treecb70792c6a0b609db4bf9500d7dcb262bb6e938d /Library/Formula
parent9d8f8994040846909eee5c2361f082af54b6814c (diff)
downloadhomebrew-d0f48601e3424d2bedd6158c6acd019bbee2fb90.tar.bz2
fswatch 0.0.1 (new formula)
Closes #13110.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fswatch.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/fswatch.rb b/Library/Formula/fswatch.rb
new file mode 100644
index 000000000..bb964ec06
--- /dev/null
+++ b/Library/Formula/fswatch.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Fswatch < Formula
+ homepage 'https://github.com/alandipert/fswatch'
+ url 'https://codeload.github.com/alandipert/fswatch/tar.gz/r0.0.1'
+ sha1 'e24397925de76a9d0805331c387b6517bc18b0ed'
+ version '0.0.1'
+
+ def install
+ system 'make'
+ bin.install 'fswatch'
+ end
+
+ test do
+ system "fswatch 2>&1| grep 'You must specify a directory to watch'"
+ end
+end