uni 1.0.0 (new formula)

Closes #47798.

Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
This commit is contained in:
Zhiming Wang 2019-12-13 13:01:41 +08:00 committed by Alexander Bayandin
parent 6f5a9e12f8
commit 7e0c67a913

16
Formula/uni.rb Normal file
View file

@ -0,0 +1,16 @@
class Uni < Formula
desc "Unicode database query tool for the command-line"
homepage "https://github.com/arp242/uni"
url "https://github.com/arp242/uni/archive/v1.0.0.tar.gz"
sha256 "04edf69aca7b086328fa1a7bd8e06617ba074eaec041eda6bdad7a1ba0a00dee"
depends_on "go" => :build
def install
system "go", "build", "-o", bin/"uni"
end
test do
assert_match "CLINKING BEER MUGS", shell_output("#{bin}/uni identify 🍻")
end
end