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