Reviewed-on: #35 Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl> Co-committed-by: Felipe Contreras Salinas <felipe@bstr.cl>
11 lines
151 B
Bash
Executable file
11 lines
151 B
Bash
Executable file
#!/bin/bash
|
|
set -eu
|
|
|
|
if ! cargo fmt -- --check
|
|
then
|
|
echo "There are some code style issues."
|
|
echo "Run cargo fmt first."
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|