homebrew-core/Formula/jshon.rb

21 lines
379 B
Ruby
Raw Normal View History

require 'formula'
class Jshon < Formula
homepage 'http://kmkeen.com/jshon/'
2013-01-28 04:59:08 +00:00
url 'http://kmkeen.com/jshon/jshon.tar.gz'
version '8'
2013-01-28 04:59:08 +00:00
sha1 'e8d710f621ed42ab126c921f87bc8906af16cd1d'
depends_on 'jansson'
def install
system 'make'
bin.install 'jshon'
man1.install 'jshon.1'
end
def test
system "echo '[true,false,null]'| #{bin}/jshon -l"
end
end