mirror of
https://github.com/traefik/traefik.git
synced 2025-05-07 08:23:03 +00:00
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com> Co-authored-by: Michael Matur <michael.matur@gmail.com>
19 lines
378 B
Bash
Executable File
19 lines
378 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
|
|
|
|
go generate
|
|
|
|
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.'
|
|
|
|
rm -rf ./autogen/genstatic/
|