homebrew-core/Formula/grakn.rb

21 lines
566 B
Ruby
Raw Normal View History

class Grakn < Formula
desc "The Database for AI"
homepage "https://grakn.ai"
2017-08-23 10:11:28 +00:00
url "https://github.com/graknlabs/grakn/releases/download/v0.16.0/grakn-dist-0.16.0.tar.gz"
sha256 "1c7194f09cbf31949323b79b2fb8a5683381af5ecf37886fd45deb71585261ed"
2017-06-02 14:56:49 +00:00
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