From 599471bbb529f649940e601abb9b7ca8f1dfbd90 Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Wed, 19 Jan 2022 18:14:03 +0800 Subject: [PATCH] juliaup 1.5.28 (new formula) Closes #93401. Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/juliaup.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Formula/juliaup.rb diff --git a/Formula/juliaup.rb b/Formula/juliaup.rb new file mode 100644 index 00000000000..3615f1b652f --- /dev/null +++ b/Formula/juliaup.rb @@ -0,0 +1,19 @@ +class Juliaup < Formula + desc "Julia installer and version multiplexer" + homepage "https://github.com/JuliaLang/juliaup" + url "https://github.com/JuliaLang/juliaup/archive/v1.5.28.tar.gz" + sha256 "2707c631de43a774a6307da1652f9a5f386980f2afe00dd08cfc9b8d800bb76c" + license "MIT" + head "https://github.com/JuliaLang/juliaup.git", branch: "master" + + depends_on "rust" => :build + + def install + system "cargo", "install", *std_cargo_args + end + + test do + expected = "Default Channel Version Update" + assert_equal expected, shell_output("#{bin}/juliaup status").lines.first.strip + end +end