meilisearch 0.8.4 (new formula)

Closes #48006.

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
Clementine Urquizar 2019-12-18 13:57:30 +01:00 committed by Rui Chen
parent df9f457e74
commit e7252f1be3

17
Formula/meilisearch.rb Normal file
View file

@ -0,0 +1,17 @@
class Meilisearch < Formula
desc "Ultra relevant, instant and typo-tolerant full-text search API"
homepage "https://docs.meilisearch.com/"
url "https://github.com/meilisearch/MeiliSearch/archive/v0.8.4.tar.gz"
sha256 "a45e128248bc911e9c4358b44e8afc0e29bbb8dd7b79fd9384c11b8a215256e6"
depends_on "rust" => :build
def install
system "cargo", "install", "--locked", "--root", prefix, "--path", "meilisearch-http"
end
test do
output = shell_output("#{bin}/meilisearch --version")
assert_match(/^meilisearch-http [0-9]*[.][0-9]*[.][0-9]*/, output)
end
end