homebrew-core/Formula/easyengine.rb
Riddhesh Sanghvi 44f4fdd159 easyengine 4.0.12
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>

Closes #38783.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
2019-04-09 21:46:25 +02:00

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.12/easyengine.phar"
sha256 "53f1495ddd6a9cb7e54110366b4225398b775db2512eee9aedc8ebd825b0a596"
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