homebrew-core/Formula/deployer.rb

22 lines
566 B
Ruby
Raw Normal View History

2018-04-20 12:24:16 +00:00
class Deployer < Formula
desc "Deployment tool written in PHP with support for popular frameworks"
homepage "https://deployer.org/"
url "https://deployer.org/releases/v6.2.0/deployer.phar"
sha256 "a0f331137fd28a8776cba23ace26d00bbe260a05e29dca4ee15040d914768f91"
bottle :unneeded
depends_on "php"
conflicts_with "dep", :because => "both install `dep` binaries"
def install
bin.install "deployer.phar" => "dep"
end
test do
system "#{bin}/dep", "init", "--template=Common"
assert_predicate testpath/"deploy.php", :exist?
end
end