mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-29 17:41:13 +00:00
Move hacks to hack (match k8s pattern).
This commit is contained in:
16
hack/awker.sh
Executable file
16
hack/awker.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
function showDeps {
|
||||
echo "==== begin $1 =================================="
|
||||
find $1 -name "*.go" |\
|
||||
xargs grep \"sigs.k8s.io/kustomize/??? |\
|
||||
grep -v "/api/" |\
|
||||
sed 's|"sigs.k8s.io/kustomize/v3/||' |\
|
||||
awk '{ printf "%40s %s\n", $2, $1 }' |\
|
||||
sed 's|" \./| |' |\
|
||||
sed 's|:$||' |\
|
||||
sort | uniq
|
||||
echo "==== end $1 =================================="
|
||||
}
|
||||
|
||||
|
||||
showDeps ./plugin
|
||||
showDeps ./kustomize
|
||||
Reference in New Issue
Block a user