mirror of
https://github.com/containous/traefik.git
synced 2024-12-22 13:34:03 +03:00
15 lines
336 B
Bash
Executable File
15 lines
336 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -o errexit
|
|
set -o pipefail
|
|
set -o nounset
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"; export SCRIPT_DIR
|
|
|
|
echo "checking go modules for unintentional changes..."
|
|
|
|
go mod tidy
|
|
git diff --exit-code go.mod
|
|
git diff --exit-code go.sum
|
|
|
|
echo 'Congratulations! All go modules changes are done the right way.'
|