frege-repl: depend on openjdk

master
Markus Reiter 2020-02-04 11:55:56 +01:00 committed by Alexander Bayandin
parent 3b7b04d958
commit ed19822109
1 changed files with 3 additions and 3 deletions

View File

@ -4,16 +4,16 @@ class FregeRepl < Formula
url "https://github.com/Frege/frege-repl/releases/download/1.4-SNAPSHOT/frege-repl-1.4-SNAPSHOT.zip"
version "1.4-SNAPSHOT"
sha256 "2ca5f13bc5efaf8515381e8cdf99b4d4017264a462a30366a873cb54cc4f4640"
revision 1
revision 2
bottle :unneeded
depends_on :java => "1.8+"
depends_on "openjdk"
def install
rm_f Dir["bin/*.bat"]
libexec.install "bin", "lib"
bin.install_symlink "#{libexec}/bin/frege-repl"
(bin/"frege-repl").write_env_script libexec/"bin/frege-repl", :JAVA_HOME => Formula["openjdk"].opt_prefix
end
test do