da7da32c11
Closes #31622. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
21 lines
566 B
Ruby
21 lines
566 B
Ruby
class Deployer < Formula
|
|
desc "Deployment tool written in PHP with support for popular frameworks"
|
|
homepage "https://deployer.org/"
|
|
url "https://deployer.org/releases/v6.3.0/deployer.phar"
|
|
sha256 "e2860178f5f8f2add74ace08ce4947709021c20e28d44f60105784bb9388ece5"
|
|
|
|
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
|