homebrew-core/Formula/exenv.rb

24 lines
685 B
Ruby

class Exenv < Formula
desc "Elixir versions management tool"
homepage "https://github.com/mururu/exenv"
url "https://github.com/mururu/exenv/archive/v0.1.0.tar.gz"
sha256 "368095760ecc386a0930954f5f0ce7cea977641fe6d27b1beff032f512598a58"
license "MIT"
head "https://github.com/mururu/exenv.git", branch: "master"
bottle do
sha256 cellar: :any_skip_relocation, all: "ae3d33c35709202895d8d27bff0ea95075cd1455cc20207b139c43b73ca34322"
end
deprecate! date: "2022-06-15", because: :repo_archived
def install
inreplace "libexec/exenv", "/usr/local", HOMEBREW_PREFIX
prefix.install Dir["*"]
end
test do
system "#{bin}/exenv", "init", "-"
end
end