Bulk move from k8s.io/kubectl

This commit is contained in:
Jeffrey Regan
2018-05-11 14:07:15 -07:00
parent c2048aae17
commit 83b3eb9d54
4223 changed files with 1815034 additions and 110 deletions

View File

@@ -11,7 +11,7 @@ cd "$base_dir" || {
rc=0
function go_dirs {
go list -f '{{.Dir}}' ./... | tr '\n' '\0'
go list -f '{{.Dir}}' ./... | tail -n +2 | tr '\n' '\0'
}
function runTest {
@@ -43,14 +43,14 @@ function testGoTest {
go test -v ./...
}
function testTutorial {
mdrip --mode test --label test ./cmd/kustomize
function testDemos {
mdrip --mode test --label test ./demos
}
runTest testGoFmt
runTest testGoImports
runTest testGoVet
runTest testGoTest
runTest testTutorial
runTest testDemos
exit $rc