jackett 0.22.1382
[Homebrew/homebrew-core.git] / Formula / x / xcenv.rb
blob429832f75ae6669129726ed743e9bae3b0ddd4df
1 class Xcenv < Formula
2   desc "Xcode version manager"
3   homepage "https://github.com/xcenv/xcenv"
4   url "https://github.com/xcenv/xcenv/archive/refs/tags/v1.2.0.tar.gz"
5   sha256 "bbb47394f9edbdabba886e5ca0155f0ef6aeae07b8a7564c652c8e260fac6d9f"
6   license "MIT"
7   head "https://github.com/xcenv/xcenv.git", branch: "master"
9   bottle do
10     rebuild 1
11     sha256 cellar: :any_skip_relocation, all: "65bfc4db841df3001acc419d3d784768a955462fe78faa85c7674132aeb78bb4"
12   end
14   depends_on :macos
16   def install
17     prefix.install ["bin", "libexec"]
18   end
20   test do
21     shell_output("eval \"$(#{bin}/xcenv init -)\" && xcenv versions")
22   end
23 end