mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 14:54:27 +01:00
Remove the useless script folder
This commit is contained in:
parent
ebb2494879
commit
eabef5194a
@ -1,36 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
cargo check --workspace --all-targets &>/dev/null
|
|
||||||
result=$?
|
|
||||||
|
|
||||||
if [[ ${result} -ne 0 ]] ; then
|
|
||||||
cat <<\EOF
|
|
||||||
The project does not compile. You might want to fix your error before commiting.
|
|
||||||
|
|
||||||
If you still want to commit you can do it by appending
|
|
||||||
--no-verify
|
|
||||||
at the end of your previous command.
|
|
||||||
|
|
||||||
If you are running a variant of bash you can directly paste this command in your terminal:
|
|
||||||
!! --no-verify
|
|
||||||
EOF
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
cargo fmt --all -- --check &>/dev/null
|
|
||||||
result=$?
|
|
||||||
|
|
||||||
if [[ ${result} -ne 0 ]] ; then
|
|
||||||
cat <<\EOF
|
|
||||||
The project is badly formatted. Please run:
|
|
||||||
cargo fmt --all
|
|
||||||
|
|
||||||
If you want to create your commit without propper formatting you can add
|
|
||||||
--no-verify
|
|
||||||
at the end of your commit.
|
|
||||||
|
|
||||||
If you are running a variant of bash you can directly paste this command in your terminal:
|
|
||||||
!! --no-verify
|
|
||||||
EOF
|
|
||||||
exit 1
|
|
||||||
fi
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
export RUST_BACKTRACE=1
|
|
||||||
|
|
||||||
while true
|
|
||||||
do
|
|
||||||
cargo test qc_ --release -- --nocapture
|
|
||||||
if [[ x$? != x0 ]] ; then
|
|
||||||
exit $?
|
|
||||||
fi
|
|
||||||
done
|
|
Loading…
Reference in New Issue
Block a user