Skip to content

Commit

Permalink
Drop vendor in both scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Jan 17, 2025
1 parent d5cf972 commit e54947f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ set -o pipefail

source $(dirname $0)/../vendor/knative.dev/hack/codegen-library.sh

export GOFLAGS=-mod=

echo "=== Update Codegen for $MODULE_NAME"

group "Kubernetes Codegen"
Expand Down
2 changes: 1 addition & 1 deletion test/test-reconciler-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set -o pipefail
source $(dirname $0)/../vendor/knative.dev/hack/library.sh

# Make sure script doesn't have conflict with other tooling
export GOFLAGS="-mod="
export GOFLAGS=-mod=

CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${REPO_ROOT_DIR}; ls -d -1 $(dirname $0)/../vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)}
KNATIVE_CODEGEN_PKG=${KNATIVE_CODEGEN_PKG:-$(cd ${REPO_ROOT_DIR}; ls -d -1 $(dirname $0)/../vendor/knative.dev/pkg 2>/dev/null || echo ../pkg)}
Expand Down

0 comments on commit e54947f

Please sign in to comment.