ammonite-repl 0.5.4

Closes Homebrew/homebrew#48826.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Andy Stanton 2016-02-04 14:42:38 +00:00 committed by Mike McQuaid
parent bec47d308f
commit 4ce171207c
1 changed files with 10 additions and 3 deletions

View File

@ -1,8 +1,8 @@
class AmmoniteRepl < Formula
desc "Ammonite is a cleanroom re-implementation of the Scala REPL"
homepage "https://lihaoyi.github.io/Ammonite/#Ammonite-REPL"
url "https://github.com/lihaoyi/Ammonite/archive/0.5.3.tar.gz"
sha256 "e55215d68820e8be176c86942cf082b5efbbad39ed61a89af97c99557ef61fe8"
url "https://github.com/lihaoyi/Ammonite/archive/0.5.4.tar.gz"
sha256 "9cd2c1d19561c443a3e8eeec123461533deb98b26346b78077dc2540b26ce4c5"
bottle do
cellar :any_skip_relocation
@ -18,7 +18,14 @@ class AmmoniteRepl < Formula
ENV.java_cache
system "sbt", "repl/assembly"
bin.install "repl/target/scala-2.11/ammonite-repl-#{version}-2.11.7" => "amm"
# Ammonite REPL 0.5.4 incorrectly generates an executable with version 0.5.3 in the name
# see: https://github.com/lihaoyi/Ammonite/blob/0.5.4/project/Constants.scala
# Please use the derived version instead of an explicit version for the next release:
# bin.install "repl/target/scala-2.11/ammonite-repl-#{version}-2.11.7" => "amm"
bin.install "repl/target/scala-2.11/ammonite-repl-0.5.3-2.11.7" => "amm"
end
test do