mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
10 lines
174 B
Bash
Executable File
10 lines
174 B
Bash
Executable File
#!/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
|