diff --git a/Library/Formula/fswatch.rb b/Library/Formula/fswatch.rb new file mode 100644 index 0000000000..bb964ec062 --- /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