homebrew-core/Formula/jhipster.rb
2019-10-11 01:03:07 +02:00

27 lines
949 B
Ruby

require "language/node"
class Jhipster < Formula
desc "Generate, develop and deploy Spring Boot + Angular/React applications"
homepage "https://www.jhipster.tech/"
url "https://registry.npmjs.org/generator-jhipster/-/generator-jhipster-6.4.0.tgz"
sha256 "59b47973e535ade24d98243688c6eb36b3d277c9b1a38c640749f47503fd38bd"
bottle do
cellar :any_skip_relocation
sha256 "ac4fddfac50138c831e3712ab13ee6de3d2fb25e367c58a79ca709f4a7df60da" => :catalina
sha256 "5dd7c02c70abafdfa6c748ef409793c7814d41669f904bae45efbf777b904cd1" => :mojave
sha256 "12369e444cbe78163eac38115ab60f0cbe619ceb5e1aef64eabf834b718715c4" => :high_sierra
end
depends_on :java => "1.8+"
depends_on "node"
def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]
end
test do
assert_match "execution is complete", shell_output("#{bin}/jhipster info")
end
end