From 00d12007043d4f933a1a8175c48e8d716aed8a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Tue, 26 Nov 2019 11:17:30 +0100 Subject: [PATCH] Rename the meilisearch-http binary into meilisearch --- .github/workflows/publish-binaries.yml | 8 ++++---- Dockerfile | 4 ++-- meilisearch-http/Cargo.toml | 4 ++++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index c2e93747a..8643820ee 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -14,11 +14,11 @@ jobs: os: [ubuntu-latest, macos-latest] include: - os: ubuntu-latest - artifact_name: meilisearch-http - asset_name: meilisearch-http-linux-amd64 + artifact_name: meilisearch + asset_name: meilisearch-linux-amd64 - os: macos-latest - artifact_name: meilisearch-http - asset_name: meilisearch-http-macos-amd64 + artifact_name: meilisearch + asset_name: meilisearch-macos-amd64 steps: - uses: hecrj/setup-rust-action@master diff --git a/Dockerfile b/Dockerfile index e1ba2723f..b4a2775dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN apk update --quiet RUN apk add libressl RUN apk add build-base -COPY --from=compiler /meilisearch/target/release/meilisearch-http . +COPY --from=compiler /meilisearch/target/release/meilisearch . ENV MEILI_HTTP_ADDR 0.0.0.0:8080 -CMD ./meilisearch-http +CMD ./meilisearch diff --git a/meilisearch-http/Cargo.toml b/meilisearch-http/Cargo.toml index 8ada402db..061d44845 100644 --- a/meilisearch-http/Cargo.toml +++ b/meilisearch-http/Cargo.toml @@ -7,6 +7,10 @@ authors = [ ] edition = "2018" +[[bin]] +name = "meilisearch" +path = "src/main.rs" + [dependencies] bincode = "1.2.0" chrono = { version = "0.4.9", features = ["serde"] }