29 lines
930 B
Ruby
29 lines
930 B
Ruby
require "language/node"
|
|
|
|
class IosSim < Formula
|
|
desc "Command-line application launcher for the iOS Simulator"
|
|
homepage "https://github.com/ios-control/ios-sim"
|
|
url "https://github.com/ios-control/ios-sim/archive/9.0.0.tar.gz"
|
|
sha256 "8c72c8c5f9b0682c218678549c08ca01b3ac2685417fc2ab5b4b803d65a21958"
|
|
license "Apache-2.0"
|
|
head "https://github.com/ios-control/ios-sim.git"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "8c48bcbabb9ddb5b3781c16a2af67518881ff23bd5d7f0723436cb438ef7088e" => :catalina
|
|
sha256 "87ddbe7f7341fa207ac5d4a1212e81a3fe838c474bdbcbc2c7239ac2bf8ccc7e" => :mojave
|
|
sha256 "ddbe9d541710ab4dd219db3f766e878ff8698dcd88c25a247e5c44e165ea2773" => :high_sierra
|
|
end
|
|
|
|
depends_on "node"
|
|
|
|
def install
|
|
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
|
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
|
end
|
|
|
|
test do
|
|
system bin/"ios-sim", "--help"
|
|
end
|
|
end
|