jhipster 4.5.2 (new formula)

Closes #14060.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Julien Dubois 2017-05-29 23:18:36 +02:00 committed by ilovezfs
parent b29abdd9ed
commit 3c9ba37030

23
Formula/jhipster.rb Normal file
View file

@ -0,0 +1,23 @@
require "language/node"
class Jhipster < Formula
desc "Generate, develop and deploy Spring Boot + Angular applications"
homepage "https://jhipster.github.io/"
url "https://registry.npmjs.org/generator-jhipster/-/generator-jhipster-4.5.2.tgz"
sha256 "5df0edbbdb685df5ae598b53fb2def43b6c23bb75d44763a63cda69567395954"
depends_on "node"
def install
system "npm", "install", *Language::Node.std_npm_install_args(libexec)
bin.install_symlink Dir["#{libexec}/bin/*"]
end
test do
expected = <<-EOS.undent
Executing jhipster:info
Execution complete
EOS
assert_equal expected, shell_output("#{bin}/jhipster info")
end
end