Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmaccallum committed Apr 8, 2024
1 parent c96372c commit 9293fe2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Formula/cli.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Documentation: https://docs.brew.sh/Formula-Cookbook

Check failure on line 1 in Formula/cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/Comments: Please remove default template comments
# https://rubydoc.brew.sh/Formula
class ParraCli < Formula
desc "A utility for getting started with your next Parra.io project."

Check failure on line 4 in Formula/cli.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 4 in Formula/cli.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 "https://parra.io"
url "https://github.com/Parra-Inc/parra-cli"
sha256 "b2d7bb404ca53859f4b5365aca06cce2d581216bdf17e9d0c7b0872a309b8287"
license "MIT"

depends_on "xcodes"
depends_on "aria2"

Check failure on line 11 in Formula/cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/DependencyOrder: dependency "aria2" (line 11) should be put before dependency "xcodes" (line 10)
depends_on "xcodegen"

Check failure on line 12 in Formula/cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/DependencyOrder: dependency "xcodegen" (line 12) should be put before dependency "xcodes" (line 10)

def install
# Remove unrecognized options if they cause configure to fail
# https://rubydoc.brew.sh/Formula.html#std_configure_args-instance_method
system "./configure", "--disable-silent-rules", *std_configure_args
# system "cmake", "-S", ".", "-B", "build", *std_cmake_args

Check failure on line 18 in Formula/cli.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/Comments: Please remove default template comments
end

test do
# `test do` will create, run in and delete a temporary directory.
#
# This test will fail and we won't accept that! For Homebrew/homebrew-core
# this will need to be a test that verifies the functionality of the
# software. Run the test with `brew test parra-cli`. Options passed
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
#
# The installed folder is not in the path, so use the entire path to any
# executables being tested: `system "#{bin}/program", "do", "something"`.
system "false"
end
end

0 comments on commit 9293fe2

Please sign in to comment.