-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff51d67
commit 313f049
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
class Xcodes < Formula | ||
desc "The best command-line tool to install and switch Xcodes." | ||
Check failure on line 2 in Formula/xcodes.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
homepage "" | ||
Check failure on line 3 in Formula/xcodes.rb GitHub Actions / test-bot (ubuntu-22.04)
|
||
url "https://github.com/phantomato/xcodes.git", tag: "1.4.2" | ||
license "MIT" | ||
head "https://github.com/phantomato/xcodes.git", branch: "main" | ||
|
||
bottle do | ||
root_url "https://github.com/phantomato/xcodes/releases/download/1.4.2" | ||
sha256 cellar: :any_skip_relocation, arm64_sonoma: "244acd990847401e65286daa3ff5abb16684625b373bfb9bf0dd755118b209df" | ||
end | ||
|
||
def install | ||
system "make", "install", "prefix=#{prefix}" | ||
end | ||
|
||
test do | ||
system "#{bin}/xcodes" | ||
end | ||
end |