homebrew-core/Formula/crowdin.rb

20 lines
517 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://downloads.crowdin.com/cli/v2/crowdin-cli-2.0.20.zip"
sha256 "c6af1dfe3267f0f0e9417b5792ee2c492a61ad2618b70bb14d2ae944b75c2975"
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