From 66ae81a909bc22afd4bdbb089696aba896b14e6b Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Tue, 9 Jan 2024 13:25:06 +0100 Subject: [PATCH] Make it so binary can be used with `cargo xtask` --- .cargo/config.toml | 2 ++ CONTRIBUTING.md | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000..35049cbcb --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[alias] +xtask = "run --package xtask --" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7b0cb24e9..073da7031 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -75,6 +75,12 @@ If you get a "Too many open files" error you might want to increase the open fil ulimit -Sn 3000 ``` +#### Build tools + +Meilisearch follows the [cargo xtask](https://github.com/matklad/cargo-xtask) workflow to provide some build tools. + +Run `cargo xtask --help` from the root of the repository to find out what is available. + ## Git Guidelines ### Git Branches