1
0
mirror of https://github.com/rancher/cli.git synced 2026-02-06 12:48:45 +01:00
Files
cli/scripts/validate

15 lines
225 B
Plaintext
Raw Normal View History

2016-05-26 20:00:15 -07:00
#!/bin/bash
set -e
cd $(dirname $0)/..
echo Tidying up modules
go mod tidy
2018-01-31 15:21:11 -07:00
echo Verifying modules
go mod verify
2018-01-31 15:21:11 -07:00
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
echo "Encountered dirty repo!"
exit 1
fi