homebrew-core/Formula/crowdin.rb
2017-08-10 14:53:55 +02:00

19 lines
510 B
Ruby

class Crowdin < Formula
desc "Command-line tool that allows to manage your resources with crowdin.com"
homepage "https://support.crowdin.com/cli-tool/"
url "https://crowdin.com/downloads/crowdin-cli-2.0.18.zip"
sha256 "4af37ef20a65157096698477af9c803f625f461611ac4fcd1fdc9c0bd1f939fc"
bottle :unneeded
depends_on :java => "1.7+"
def install
libexec.install "crowdin-cli.jar"
bin.write_jar_script libexec/"crowdin-cli.jar", "crowdin"
end
test do
system bin/"crowdin"
end
end