26 lines
825 B
Ruby
26 lines
825 B
Ruby
class Commandbox < Formula
|
|
desc "CFML embedded server, package manager, and app scaffolding tools"
|
|
homepage "https://www.ortussolutions.com/products/commandbox"
|
|
url "https://downloads.ortussolutions.com/ortussolutions/commandbox/3.6.0/commandbox-bin-3.6.0.zip"
|
|
sha256 "6da683c02caba95316d9fdb2060db139049cf4aca6ee7600fe914a5527038766"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.7+"
|
|
|
|
resource "apidocs" do
|
|
url "https://downloads.ortussolutions.com/ortussolutions/commandbox/3.6.0/commandbox-apidocs-3.6.0.zip"
|
|
sha256 "da0c3de4bf13056817eacf705bb68a16bf85df3524f40a0f6cdc2dddb729544b"
|
|
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
|