19 lines
520 B
Ruby
19 lines
520 B
Ruby
class Ansiweather < Formula
|
|
desc "Weather in your terminal, with ANSI colors and Unicode symbols"
|
|
homepage "https://github.com/fcambus/ansiweather"
|
|
url "https://github.com/fcambus/ansiweather/archive/1.13.0.tar.gz"
|
|
sha256 "2f0fc8722e45f02042a96d903e87196ad08b237ae693895df9a805c27637dac9"
|
|
head "https://github.com/fcambus/ansiweather.git"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "jq"
|
|
|
|
def install
|
|
bin.install "ansiweather"
|
|
end
|
|
|
|
test do
|
|
assert_match "Wind", shell_output("#{bin}/ansiweather")
|
|
end
|
|
end
|