diff options
| author | Dominyk Tiller | 2014-11-05 05:34:14 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-11-06 08:32:37 +0000 |
| commit | 048d0aa0baf6cc8d168209a2e9ead6b54969d0fa (patch) | |
| tree | 34c3188aa852cc9a3bb2d33af4a3d78996e7fcc5 /Library/Formula | |
| parent | c6d18cf6f7a235ce9bacfe5f33a68e191e455e18 (diff) | |
| download | homebrew-048d0aa0baf6cc8d168209a2e9ead6b54969d0fa.tar.bz2 | |
snow 20130616 (new formula)
New Formula for SNOW. Useful little hidden encrypted messages in
whitespace tool.
Closes #33925.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/snow.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/snow.rb b/Library/Formula/snow.rb new file mode 100644 index 000000000..b90439c55 --- /dev/null +++ b/Library/Formula/snow.rb @@ -0,0 +1,22 @@ +require "formula" + +class Snow < Formula + homepage "http://www.darkside.com.au/snow/" + url "http://www.darkside.com.au/snow/snow-20130616.tar.gz" + sha1 "b7cc0214d24cef44f50cd9069a0052f8dcd54176" + + def install + system "make" + bin.install "snow" + man1.install "snow.1" + end + + test do + touch "in.txt" + touch "out.txt" + system "#{bin}/snow", "-C", "-m", "'Secrets Abound Here'", "-p", + "'hello world'", "in.txt", "out.txt" + # The below should get the response 'Secrets Abound Here' when testing. + system "#{bin}/snow", "-C", "-p", "'hello world'", "out.txt" + end +end |
