23405a3a7c
Signed-off-by: Riddhesh Sanghvi <riddhesh237@gmail.com> Closes #48572. Signed-off-by: Alexander Bayandin <a.bayandin@gmail.com>
27 lines
749 B
Ruby
27 lines
749 B
Ruby
class Easyengine < Formula
|
|
desc "Command-line control panel to manage WordPress sites"
|
|
homepage "https://easyengine.io/"
|
|
url "https://github.com/EasyEngine/easyengine/releases/download/v4.0.16/easyengine.phar"
|
|
sha256 "8984faac05d9e7eb71f5758059244f76a6e53072d3161ae9ccb645495a1e01d7"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on "dnsmasq"
|
|
depends_on "php"
|
|
|
|
def install
|
|
bin.install "easyengine.phar" => "ee"
|
|
end
|
|
|
|
test do
|
|
system bin/"ee config set locale hi_IN"
|
|
output = shell_output("#{bin}/ee config get locale")
|
|
assert_match "hi_IN", output
|
|
|
|
output = shell_output("#{bin}/ee cli version")
|
|
assert_match "EE #{version}", output
|
|
|
|
output = shell_output("#{bin}/ee cli info")
|
|
assert_match "Darwin", output
|
|
end
|
|
end
|