homebrew-core/Formula/easyengine.rb
Riddhesh Sanghvi 8342f31e28 easyengine 4.0.6
Signed-off-by: Riddhesh Sanghvi <riddheshsanghvi96@gmail.com>

Closes #35060.

Signed-off-by: Sean Molenaar <smillerdev@me.com>
2018-12-13 13:39:51 +01:00

27 lines
748 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.6/easyengine.phar"
sha256 "8a9fce7ee0f005620cdd0b4ce6d1bf65b76f999201bee9403e716a67ffdd2f83"
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