homebrew-core/Formula/crowdin.rb

20 lines
510 B
Ruby
Raw Normal View History

2017-03-14 00:16:51 +00:00
class Crowdin < Formula
desc "Command-line tool that allows to manage your resources with crowdin.com"
homepage "https://support.crowdin.com/cli-tool/"
2017-05-23 22:57:15 +00:00
url "https://crowdin.com/downloads/crowdin-cli-2.0.15.zip"
sha256 "f7dc2ac951e899cb6881df3cfbe731872c2baa3d60b1670473aa15963051d409"
2017-03-14 00:16:51 +00:00
bottle :unneeded
depends_on :java => "1.7+"
def install
2017-05-25 09:28:14 +00:00
libexec.install "crowdin-cli.jar"
bin.write_jar_script libexec/"crowdin-cli.jar", "crowdin"
2017-03-14 00:16:51 +00:00
end
test do
2017-05-25 09:28:14 +00:00
system bin/"crowdin"
2017-03-14 00:16:51 +00:00
end
end