mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-13 01:50:55 +00:00
Scripts for adding psuedo modules
psuedo modules will contain modules copied from k8s where we cannot depend directly on the k8s modules
This commit is contained in:
16
travis/verify-deps.sh
Executable file
16
travis/verify-deps.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -o xtrace
|
||||
|
||||
for item in api apimachinery client-go
|
||||
do
|
||||
if find pseudo -name 'go.*' | xargs grep "k8s.io/${item}" ; then
|
||||
echo "forbidden deps"
|
||||
exit 1
|
||||
fi
|
||||
if find pseudo -name '*.go' | xargs grep "k8s.io/${item}" ; then
|
||||
echo "forbidden deps"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user