Skip to content

Commit

Permalink
upload formula
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomato committed Jun 16, 2024
1 parent ff51d67 commit 313f049
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Formula/xcodes.rb
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

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/Desc: Description shouldn't start with an article.

Check failure on line 2 in Formula/xcodes.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/Desc: Description shouldn't end with a full stop.
homepage ""

Check failure on line 3 in Formula/xcodes.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/Homepage: Formula should have a homepage.

Check failure on line 3 in Formula/xcodes.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/Homepage: The homepage should start with http or https.
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

0 comments on commit 313f049

Please sign in to comment.