On Tue, Feb 4, 2014 at 6:34 PM, Mike McQuaid <notifications@github.com>wrote:

> In Library/Formula/capstone.rb:
>
> > @@ -0,0 +1,12 @@
> > +require 'formula'
> > +
> > +class Capstone < Formula
> > +  homepage 'http://capstone-engine.org'
> > +  url 'http://capstone-engine.org/download/2.0/capstone-2.0.tgz'
> > +  sha1 '209cdc69518f754c5d7d07672d8e28
> cdda9feae7'
> > +
> > +  def install
> > +    system "./make.sh"
> > +    system "export PREFIX=/usr/local; ./make.sh install"
> > +  end
> > +end
>
> Can a test be added to do something more substantial then e.g. --versionor
> --help? See cmake.rb for an example of a formula with a good test.
>

this is a library, so if it is compiled, nothing can be wrong.

no executable binary is installed, so i have no idea how to have a test for
it.

thanks.