homebrew-core/Formula/grakn.rb

21 lines
566 B
Ruby

class Grakn < Formula
desc "The Database for AI"
homepage "https://grakn.ai"
url "https://github.com/graknlabs/grakn/releases/download/v0.13.0/grakn-dist-0.13.0.tar.gz"
sha256 "bcc6b92effb154665dab8f01748fafe099a8f580db783f26c960a5396e901e8e"
bottle :unneeded
depends_on :java => "1.8+"
def install
libexec.install Dir["*"]
bin.install Dir["#{libexec}/bin/*"]
bin.env_script_all_files(libexec/"bin", :CASSANDRA_HOME => ENV["CASSANDRA_HOME"])
end
test do
assert_match /stopped/i, shell_output("#{bin}/grakn.sh status")
end
end