mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
10 lines
174 B
Bash
10 lines
174 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
go mod tidy
|
||
|
|
||
|
if ! git diff --exit-code -- go.mod go.sum
|
||
|
then
|
||
|
echo "ERROR: go.mod/sum is not tidy. Run 'go mod tidy' in $PWD and commit the changes."
|
||
|
exit 1
|
||
|
fi
|