From 2af23a637cd41841f93e32ead45c0056fd56a56d Mon Sep 17 00:00:00 2001 From: Scott Nichols <32305648+n3wscott@users.noreply.github.com> Date: Wed, 31 Oct 2018 10:08:33 -0700 Subject: [PATCH] Remove cmd dir from eventing. (#490) * Remove cmd dir from eventing. * add new line at end of file. --- hack/update-deps.sh | 5 ++++- .../knative/eventing/cmd/controller-manager/kodata/LICENSE | 1 - .../eventing/cmd/controller-manager/kodata/VENDOR-LICENSE | 1 - .../knative/eventing/cmd/controller/kodata/LICENSE | 1 - .../knative/eventing/cmd/controller/kodata/VENDOR-LICENSE | 1 - .../github.com/knative/eventing/cmd/sendevent/kodata/LICENSE | 1 - .../knative/eventing/cmd/sendevent/kodata/VENDOR-LICENSE | 1 - .../github.com/knative/eventing/cmd/webhook/kodata/LICENSE | 1 - .../knative/eventing/cmd/webhook/kodata/VENDOR-LICENSE | 1 - 9 files changed, 4 insertions(+), 9 deletions(-) delete mode 120000 vendor/github.com/knative/eventing/cmd/controller-manager/kodata/LICENSE delete mode 120000 vendor/github.com/knative/eventing/cmd/controller-manager/kodata/VENDOR-LICENSE delete mode 120000 vendor/github.com/knative/eventing/cmd/controller/kodata/LICENSE delete mode 120000 vendor/github.com/knative/eventing/cmd/controller/kodata/VENDOR-LICENSE delete mode 120000 vendor/github.com/knative/eventing/cmd/sendevent/kodata/LICENSE delete mode 120000 vendor/github.com/knative/eventing/cmd/sendevent/kodata/VENDOR-LICENSE delete mode 120000 vendor/github.com/knative/eventing/cmd/webhook/kodata/LICENSE delete mode 120000 vendor/github.com/knative/eventing/cmd/webhook/kodata/VENDOR-LICENSE diff --git a/hack/update-deps.sh b/hack/update-deps.sh index 987503fed..431f95be3 100755 --- a/hack/update-deps.sh +++ b/hack/update-deps.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2018 The Knative Authors # @@ -27,3 +27,6 @@ dep ensure # Keep the only dir in knative/test-infra we're interested in find vendor/github.com/knative/test-infra -mindepth 1 -maxdepth 1 ! -name scripts -exec rm -fr {} \; + +# Remove the cmd dir from eventing. +rm -rf vendor/github.com/knative/eventing/cmd/ diff --git a/vendor/github.com/knative/eventing/cmd/controller-manager/kodata/LICENSE b/vendor/github.com/knative/eventing/cmd/controller-manager/kodata/LICENSE deleted file mode 120000 index 5853aaea5..000000000 --- a/vendor/github.com/knative/eventing/cmd/controller-manager/kodata/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE \ No newline at end of file diff --git a/vendor/github.com/knative/eventing/cmd/controller-manager/kodata/VENDOR-LICENSE b/vendor/github.com/knative/eventing/cmd/controller-manager/kodata/VENDOR-LICENSE deleted file mode 120000 index 3cc897645..000000000 --- a/vendor/github.com/knative/eventing/cmd/controller-manager/kodata/VENDOR-LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../third_party/VENDOR-LICENSE \ No newline at end of file diff --git a/vendor/github.com/knative/eventing/cmd/controller/kodata/LICENSE b/vendor/github.com/knative/eventing/cmd/controller/kodata/LICENSE deleted file mode 120000 index 5853aaea5..000000000 --- a/vendor/github.com/knative/eventing/cmd/controller/kodata/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE \ No newline at end of file diff --git a/vendor/github.com/knative/eventing/cmd/controller/kodata/VENDOR-LICENSE b/vendor/github.com/knative/eventing/cmd/controller/kodata/VENDOR-LICENSE deleted file mode 120000 index 3cc897645..000000000 --- a/vendor/github.com/knative/eventing/cmd/controller/kodata/VENDOR-LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../third_party/VENDOR-LICENSE \ No newline at end of file diff --git a/vendor/github.com/knative/eventing/cmd/sendevent/kodata/LICENSE b/vendor/github.com/knative/eventing/cmd/sendevent/kodata/LICENSE deleted file mode 120000 index 5853aaea5..000000000 --- a/vendor/github.com/knative/eventing/cmd/sendevent/kodata/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE \ No newline at end of file diff --git a/vendor/github.com/knative/eventing/cmd/sendevent/kodata/VENDOR-LICENSE b/vendor/github.com/knative/eventing/cmd/sendevent/kodata/VENDOR-LICENSE deleted file mode 120000 index 3cc897645..000000000 --- a/vendor/github.com/knative/eventing/cmd/sendevent/kodata/VENDOR-LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../third_party/VENDOR-LICENSE \ No newline at end of file diff --git a/vendor/github.com/knative/eventing/cmd/webhook/kodata/LICENSE b/vendor/github.com/knative/eventing/cmd/webhook/kodata/LICENSE deleted file mode 120000 index 5853aaea5..000000000 --- a/vendor/github.com/knative/eventing/cmd/webhook/kodata/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE \ No newline at end of file diff --git a/vendor/github.com/knative/eventing/cmd/webhook/kodata/VENDOR-LICENSE b/vendor/github.com/knative/eventing/cmd/webhook/kodata/VENDOR-LICENSE deleted file mode 120000 index 3cc897645..000000000 --- a/vendor/github.com/knative/eventing/cmd/webhook/kodata/VENDOR-LICENSE +++ /dev/null @@ -1 +0,0 @@ -../../../third_party/VENDOR-LICENSE \ No newline at end of file