mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-10 18:25:17 +00:00
14 lines
247 B
Bash
Executable File
14 lines
247 B
Bash
Executable File
#!/bin/bash
|
|
|
|
pushd ./test-plans > /dev/null
|
|
go mod tidy
|
|
if [[ -n $(git diff --name-only -- "go.mod" "go.sum") ]]; then
|
|
echo "go.mod / go.sum in test-plans not tidied"
|
|
errored=true
|
|
fi
|
|
popd > /dev/null
|
|
|
|
if [ "$errored" = true ]; then
|
|
exit 1
|
|
fi
|