coursier 2.1.0 (new formula)
* coursier 2.1.0-M2 (new formula) * update the build Closes #91335. Signed-off-by: Rui Chen <rui@chenrui.dev> Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>master
parent
b8985977b1
commit
28e9f8d9ad
|
@ -0,0 +1,20 @@
|
|||
class Coursier < Formula
|
||||
desc "Pure Scala Artifact Fetching"
|
||||
homepage "https://get-coursier.io/"
|
||||
url "https://github.com/coursier/coursier/releases/download/v2.1.0-M2/coursier.jar"
|
||||
sha256 "fda87fc2d52b96a338b38c3b1c69a33fb0a0dd57fb2ab5d7880164c0ea9234f2"
|
||||
license "Apache-2.0"
|
||||
|
||||
depends_on "openjdk"
|
||||
|
||||
def install
|
||||
(libexec/"bin").install "coursier.jar"
|
||||
chmod 0755, libexec/"bin/coursier.jar"
|
||||
(bin/"coursier").write_env_script libexec/"bin/coursier.jar", Language::Java.overridable_java_home_env
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"coursier", "list"
|
||||
assert_match "scalafix", shell_output("#{bin}/coursier search scalafix")
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue