25 lines
797 B
Ruby
25 lines
797 B
Ruby
class Genact < Formula
|
|
desc "Nonsense activity generator"
|
|
homepage "https://github.com/svenstaro/genact"
|
|
url "https://github.com/svenstaro/genact/archive/v0.10.0.tar.gz"
|
|
sha256 "c8db67ba56e7c327540cb5a883abcb0ab682378e9dacef79056502f32ad3c759"
|
|
license "MIT"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "cda834ea05c4403ebf7555ff32233141eda5d6e1c05cf88c2c601e88d72e27f9" => :catalina
|
|
sha256 "a8e61aa9d3683aaedd59154030f154a8bfbfcc8fceec399a1b51b03ae37091d3" => :mojave
|
|
sha256 "d52830ec3b3744074df6193d3c714f9572472969bc610236813441ea257a8de6" => :high_sierra
|
|
end
|
|
|
|
depends_on "rust" => :build
|
|
|
|
def install
|
|
system "cargo", "install", *std_cargo_args
|
|
end
|
|
|
|
test do
|
|
assert_match /Available modules:/, shell_output("#{bin}/genact --list-modules")
|
|
end
|
|
end
|