36 lines
1.9 KiB
Ruby
36 lines
1.9 KiB
Ruby
class WatchSim < Formula
|
|
desc "Command-line WatchKit application launcher"
|
|
homepage "https://github.com/alloy/watch-sim"
|
|
url "https://github.com/alloy/watch-sim/archive/1.0.0.tar.gz"
|
|
sha256 "138616472e980276999fee47072a24501ea53ce3f7095a3de940e683341b7cba"
|
|
license "MIT"
|
|
head "https://github.com/alloy/watch-sim.git", branch: "master"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, arm64_ventura: "b0bfc458d4d6388c5a56247f39d543f46a28ec27031a2c28da38d29a729ff74d"
|
|
sha256 cellar: :any_skip_relocation, arm64_monterey: "c5ce9e4c33120183ab5666c3a33b4c98550d4dbfa2da0f8aa8c0b265ce6e985e"
|
|
sha256 cellar: :any_skip_relocation, arm64_big_sur: "9a615d042db08236fe150fc21ecc8ac12979007f851b90aa85faa4f7ba75474b"
|
|
sha256 cellar: :any_skip_relocation, ventura: "0acbe748d776213a08f8ebbd082a12649edc1f848d7db02133df2edb36974376"
|
|
sha256 cellar: :any_skip_relocation, monterey: "6b1c014eff643254d48164c4aa1c1289d0bb4f30879f267982c3871f65437cb9"
|
|
sha256 cellar: :any_skip_relocation, big_sur: "4dc3e4f2872aeb25d3d4bcb22aac1012730b468543d351d0114498d8211b7f0c"
|
|
sha256 cellar: :any_skip_relocation, catalina: "bee9797e2c3a52b7dea9b6c5158bb78485b7ee10af530f84d81f31e20babf894"
|
|
sha256 cellar: :any_skip_relocation, mojave: "c4f22fd7f296de0c9ace463d4a6b292212178e45a5c483201ee247cc9d33be75"
|
|
sha256 cellar: :any_skip_relocation, high_sierra: "79348a2b95cd3ad0398977a30e46a379cff2b7319941061eebd394342f90d8b2"
|
|
sha256 cellar: :any_skip_relocation, sierra: "4c0b4b9cf453585d826f3950eba375d8dea80194c50c8d5ab3a014dec9a49c0d"
|
|
sha256 cellar: :any_skip_relocation, el_capitan: "1a7666cc09ecf2228350ea766d0f8e3bd32ab545ac44d9b17b7dc42107c6f15d"
|
|
end
|
|
|
|
depends_on :macos
|
|
depends_on xcode: "6.2"
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "watch-sim"
|
|
end
|
|
|
|
test do
|
|
assert_match(/Usage: watch-sim/,
|
|
shell_output("#{bin}/watch-sim 2>&1", 1))
|
|
end
|
|
end
|