Reviewed-on: #47 Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl> Co-committed-by: Felipe Contreras Salinas <felipe@bstr.cl>
14 lines
212 B
Bash
Executable file
14 lines
212 B
Bash
Executable file
#!/bin/bash
|
|
set -eu
|
|
|
|
if ! cargo clippy --all-targets -- -D warnings; then
|
|
echo "There are some clippy issues."
|
|
exit 1
|
|
fi
|
|
|
|
if ! cargo nextest run; then
|
|
echo "There are some test issues."
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|