Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Add formula for upgraded [email protected] #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
class ApplesimutilsAT077 < Formula
desc 'Apple simulator utilities'
homepage 'https://github.com/wix/AppleSimulatorUtils'
url 'https://github.com/wix/AppleSimulatorUtils/releases/download/0.7.7/AppleSimulatorUtils-0.7.7.tar.gz'
sha256 'b91a06a02836627ab75fd6350368f4445869453f99a2f69f5101e06521f01086'
head 'https://github.com/wix/AppleSimulatorUtils.git'
desc "Apple simulator utilities"
homepage "https://github.com/wix/AppleSimulatorUtils"
url "https://github.com/wix/AppleSimulatorUtils/releases/download/0.7.7/AppleSimulatorUtils-0.7.7.tar.gz"
sha256 "b91a06a02836627ab75fd6350368f4445869453f99a2f69f5101e06521f01086"
head "https://github.com/wix/AppleSimulatorUtils.git"

depends_on xcode: ['8.0', :build]

bottle do
root_url 'https://github.com/wix/AppleSimulatorUtils/releases/download/0.7.7'
sha256 '273894479baf991291339d6ea3a68ce7f9a8dccff0c7ec3e745074ffbfdc17ff' => :catalina
sha256 '273894479baf991291339d6ea3a68ce7f9a8dccff0c7ec3e745074ffbfdc17ff' => :mojave
sha256 '273894479baf991291339d6ea3a68ce7f9a8dccff0c7ec3e745074ffbfdc17ff' => :high_sierra
sha256 '273894479baf991291339d6ea3a68ce7f9a8dccff0c7ec3e745074ffbfdc17ff' => :sierra
root_url "https://github.com/wix/AppleSimulatorUtils/releases/download/0.7.7"
sha256 catalina: "273894479baf991291339d6ea3a68ce7f9a8dccff0c7ec3e745074ffbfdc17ff"
sha256 mojave: "273894479baf991291339d6ea3a68ce7f9a8dccff0c7ec3e745074ffbfdc17ff"
sha256 high_sierra: "273894479baf991291339d6ea3a68ce7f9a8dccff0c7ec3e745074ffbfdc17ff"
sha256 sierra: "273894479baf991291339d6ea3a68ce7f9a8dccff0c7ec3e745074ffbfdc17ff"
end

depends_on xcode: ["8.0", :build]

def install
system './buildForBrew.sh', prefix
system "./buildForBrew.sh", prefix
end

test do
system "#{bin}/applesimutils", '--help'
system "#{bin}/applesimutils", "--help"
end
end
18 changes: 9 additions & 9 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
class ApplesimutilsAT082 < Formula
desc 'Apple simulator utilities'
homepage 'https://github.com/wix/AppleSimulatorUtils'
url 'https://github.com/wix/AppleSimulatorUtils/releases/download/0.8.2/AppleSimulatorUtils-0.8.2.tar.gz'
sha256 'b616aab0e26d4a4a095b2589be130aff0d4cd215276c2d6d658a2ca99fef9caf'
head 'https://github.com/wix/AppleSimulatorUtils.git'
desc "Apple simulator utilities"
homepage "https://github.com/wix/AppleSimulatorUtils"
url "https://github.com/wix/AppleSimulatorUtils/releases/download/0.8.2/AppleSimulatorUtils-0.8.2.tar.gz"
sha256 "b616aab0e26d4a4a095b2589be130aff0d4cd215276c2d6d658a2ca99fef9caf"
head "https://github.com/wix/AppleSimulatorUtils.git"

depends_on xcode: ["8.0", :build]

depends_on xcode: ['8.0', :build]

def install
system './buildForBrew.sh', prefix
system "./buildForBrew.sh", prefix
end

test do
system "#{bin}/applesimutils", '--help'
system "#{bin}/applesimutils", "--help"
end
end
56 changes: 0 additions & 56 deletions Formula/[email protected]

This file was deleted.

8 changes: 4 additions & 4 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ class AwscliAT2010 < Formula
homepage "https://aws.amazon.com/cli/"
url "https://github.com/aws/aws-cli/archive/2.0.10.tar.gz"
sha256 "ff9a6f3bcab482d120b4fec10ff47bb47cafe49b3d7cd59bf7b42197051cacfe"
head "https://github.com/aws/aws-cli.git", :branch => "v2"
head "https://github.com/aws/aws-cli.git", branch: "v2"

bottle do
sha256 "05bd63ee4669aac00204a4606273875654655efe37a40bbfe0f4c5cc3f7b069d" => :catalina
sha256 "4ddd6d30c56eee7991cf14069d97d70896959f01c05a22782aabe861da3f7e62" => :mojave
sha256 "004bfcc8b0f71d49ac7ae1764191faefe9c91eaa3fe2c11d5baaec957e445889" => :high_sierra
sha256 catalina: "05bd63ee4669aac00204a4606273875654655efe37a40bbfe0f4c5cc3f7b069d"
sha256 mojave: "4ddd6d30c56eee7991cf14069d97d70896959f01c05a22782aabe861da3f7e62"
sha256 high_sierra: "004bfcc8b0f71d49ac7ae1764191faefe9c91eaa3fe2c11d5baaec957e445889"
end

# Some AWS APIs require TLS1.2, which system Python doesn't have before High
Expand Down
46 changes: 0 additions & 46 deletions Formula/[email protected]

This file was deleted.

37 changes: 37 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
class ShellcheckAT072 < Formula
desc "Static analysis and lint tool, for (ba)sh scripts"
homepage "https://www.shellcheck.net/"
url "https://github.com/koalaman/shellcheck/archive/v0.7.2.tar.gz"
sha256 "5911f6133951d0ba6d643025bc50f2afb6c6f66d7225dc3d42e8845bfdf74c3c"
license "GPL-3.0-or-later"
head "https://github.com/koalaman/shellcheck.git"

bottle do
sha256 cellar: :any_skip_relocation, big_sur: "516df7bcc8d5b1e7e4b989b472e89d9e3cf5e4dfc977aa45f06c0335c697b77a"
sha256 cellar: :any_skip_relocation, catalina: "d4ffbfe9cb1fc1c888c7b6805a6c224810e4137c0bac0aac3041733bb36b7d79"
sha256 cellar: :any_skip_relocation, mojave: "a810166fde56298431a942ec439d5359e871a0727b989788040608876b519b07"
end

depends_on "cabal-install" => :build
depends_on "ghc" => :build
depends_on "pandoc" => :build

def install
system "cabal", "v2-update"
system "cabal", "v2-install", *std_cabal_v2_args
system "pandoc", "-s", "-f", "markdown-smart", "-t", "man",
"shellcheck.1.md", "-o", "shellcheck.1"
man1.install "shellcheck.1"
end

test do
sh = testpath/"test.sh"
sh.write <<~EOS
for f in $(ls *.wav)
do
echo "$f"
done
EOS
assert_match "[SC2045]", shell_output("#{bin}/shellcheck -f gcc #{sh}", 1)
end
end