snow 20130616 (new formula)
New Formula for SNOW. Useful little hidden encrypted messages in whitespace tool. Closes Homebrew/homebrew#33925. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
ed36cdbc5b
commit
c1be4800c6
1 changed files with 22 additions and 0 deletions
22
Formula/snow.rb
Normal file
22
Formula/snow.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue