homebrew-core/Formula/commandbox.rb
2016-07-26 18:45:05 +01:00

25 lines
817 B
Ruby

class Commandbox < Formula
desc "CFML embedded server, package manager, and app scaffolding tools"
homepage "https://www.ortussolutions.com/products/commandbox"
url "http://downloads.ortussolutions.com/ortussolutions/commandbox/3.2.0/commandbox-bin-3.2.0.zip"
sha256 "42b0be0f5bcfdae161e24a587c98f8a21550ad76f23303cfb7f06eed03cbd8c5"
bottle :unneeded
depends_on :java => "1.7+"
resource "apidocs" do
url "http://downloads.ortussolutions.com/ortussolutions/commandbox/3.2.0/commandbox-apidocs-3.2.0.zip"
sha256 "7444852e09d10f04cd087ade4e4962e4abb0b0a8a1e0b63beba971bf2c563a3c"
end
def install
bin.install "box"
doc.install resource("apidocs")
end
test do
system bin/"box", "--commandbox_home=~/", "version"
system bin/"box", "--commandbox_home=~/", "help"
end
end