20 lines
600 B
Ruby
20 lines
600 B
Ruby
class Grakn < Formula
|
|
desc "The distributed hyper-relational database for knowledge engineering"
|
|
homepage "https://grakn.ai"
|
|
url "https://github.com/graknlabs/grakn/releases/download/1.6.2/grakn-core-all-mac-1.6.2.zip"
|
|
sha256 "7e99c2ea4b0ebfd5ec9e0c28018670986dd2273530ff9c6c03885be28ef40ad1"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.8"
|
|
|
|
def install
|
|
libexec.install Dir["*"]
|
|
bin.install libexec/"grakn"
|
|
bin.env_script_all_files(libexec, Language::Java.java_home_env("1.8"))
|
|
end
|
|
|
|
test do
|
|
assert_match /RUNNING/i, shell_output("#{bin}/grakn server status")
|
|
end
|
|
end
|