homebrew-core/Formula/jsawk.rb
Xu Cheng 3c14e7e4a2 jsawk: remove README file rename
Closes Homebrew/homebrew#35856.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-14 22:41:18 -05:00

18 lines
415 B
Ruby

class Jsawk < Formula
homepage "https://github.com/micha/jsawk"
url "https://github.com/micha/jsawk/archive/1.4.tar.gz"
sha1 "4f2c962c8a5209764116457682985854400cbf24"
head "https://github.com/micha/jsawk.git"
depends_on "spidermonkey"
def install
bin.install "jsawk"
end
test do
cmd = %(#{bin}/jsawk 'this.a = "foo"')
assert_equal %({"a":"foo"}\n), pipe_output(cmd, "{}")
end
end