homebrew-core/Formula/jshon.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

19 lines
463 B
Ruby

class Jshon < Formula
desc "Parse, read, and create JSON from the shell"
homepage "http://kmkeen.com/jshon/"
url "http://kmkeen.com/jshon/jshon.tar.gz"
version "8"
sha256 "bb8ffdbda89a24f15d23af06d23fc4a9a4319503eb631cc64a5eb4c25afd45fb"
depends_on "jansson"
def install
system "make"
bin.install "jshon"
man1.install "jshon.1"
end
test do
assert_equal "3", pipe_output("#{bin}/jshon -l", "[true,false,null]").strip
end
end