mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Move hacks to hack (match k8s pattern).
This commit is contained in:
10
hack/doGoMod.sh
Executable file
10
hack/doGoMod.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
# Usage: From repo root:
|
||||
# ./hack/doGoMod.sh tidy
|
||||
# ./hack/doGoMod.sh verify
|
||||
|
||||
operation=$1
|
||||
for f in $(find ./ -name 'go.mod'); do
|
||||
echo $f
|
||||
d=$(dirname "$f")
|
||||
(cd $d; go mod $operation)
|
||||
done
|
||||
Reference in New Issue
Block a user