Rename the meilisearch-http binary into meilisearch

This commit is contained in:
Clément Renault 2019-11-26 11:17:30 +01:00
parent 7cc096e0a2
commit 00d1200704
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4
3 changed files with 10 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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"] }