-
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
c96372c
commit 9293fe2
Showing
1 changed file
with
33 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,33 @@ | ||
# Documentation: https://docs.brew.sh/Formula-Cookbook | ||
# 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 GitHub Actions / test-bot (ubuntu-22.04)
|
||
homepage "https://parra.io" | ||
url "https://github.com/Parra-Inc/parra-cli" | ||
sha256 "b2d7bb404ca53859f4b5365aca06cce2d581216bdf17e9d0c7b0872a309b8287" | ||
license "MIT" | ||
|
||
depends_on "xcodes" | ||
depends_on "aria2" | ||
depends_on "xcodegen" | ||
|
||
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 | ||
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 |