homebrew-core/Formula/crowdin.rb
2019-02-18 17:01:17 +01: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.26.zip"
sha256 "2de42d04fca13f7a7b0a0d23d08fa3ff001a85a2b1b2ed66714273c5ed6dc00b"
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