forked from facebook/homebrew-fb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathidb-companion.rb
29 lines (24 loc) · 921 Bytes
/
idb-companion.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
class IdbCompanion < Formula
desc "A Powerful Command Line for automating iOS Simulators"
homepage "https://github.com/facebook/idb/README.md"
url "https://github.com/facebook/idb/releases/download/v1.1.8/idb-companion.universal.tar.gz"
sha256 "3b72cc6a9a5b1a22a188205a84090d3a294347a846180efd755cf1a3c848e3e7"
head "https://github.com/facebook/idb.git", branch: "main"
depends_on :xcode => ["13.0", :build]
def install
bin.install "bin/idb_companion"
frameworks.install Dir["Frameworks/*"]
end
def post_install
Dir
.glob("#{prefix}/Frameworks/**/*.dsym")
.each do |shim|
system "codesign", "--force", "--sign", "-", "--timestamp=none", shim
end
end
end