Skip to content

Commit 2ca798b

Browse files
BrewTestBotchenrui333
authored andcommitted
deployer 7.5.7
deployer: switch to use php 8.4 Signed-off-by: Rui Chen <[email protected]>
1 parent 171a30f commit 2ca798b

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

Formula/d/deployer.rb

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
class Deployer < Formula
22
desc "Deployment tool written in PHP with support for popular frameworks"
33
homepage "https://deployer.org/"
4-
# Bump to php 8.4 on the next release, if possible.
5-
url "https://github.com/deployphp/deployer/releases/download/v7.5.6/deployer.phar"
6-
sha256 "ee741006edc46a97d522c41b84cdcdcec0da5807afcd0e7d6e737d0970b723aa"
4+
url "https://github.com/deployphp/deployer/releases/download/v7.5.7/deployer.phar"
5+
sha256 "f8ea30da7ce6cc520924236e8461e8802221cc566c96f6b310bc0af6e8e85e2c"
76
license "MIT"
87

98
bottle do
109
sha256 cellar: :any_skip_relocation, all: "0525fd0dd685a00f848dacc06b9608c7ce0a1aa3d4b1633295d9de1b28a6ebbd"
1110
end
1211

13-
depends_on "php@8.3"
12+
depends_on "php"
1413

1514
def install
16-
libexec.install "deployer.phar" => "dep"
17-
18-
(bin/"dep").write <<~EOS
19-
#!#{Formula["[email protected]"].opt_bin}/php
20-
<?php require '#{libexec}/dep';
21-
EOS
15+
bin.install "deployer.phar" => "dep"
2216
end
2317

2418
test do

0 commit comments

Comments
 (0)