homebrew-core/Formula/crowdin.rb
2017-12-28 03:28:27 -08:00

19 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.21.zip"
sha256 "9c965e297ac8057097aec9e8e969b809b7721b08e876421ac5d78a2d938e1231"
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