mirror of
https://github.com/ko-build/ko.git
synced 2024-11-19 18:01:46 +02:00
Remove remaining references to vendor/
The vendor directory was removed in 38a1feb0
, but it lives on in some
places (largely development/contribution and linting). This change
removes those remaining references.
Signed-off-by: Chris Weyl <cweyl@ibm.com>
This commit is contained in:
parent
93c0edaa41
commit
903da574dc
1
.github/workflows/style.yaml
vendored
1
.github/workflows/style.yaml
vendored
@ -58,7 +58,6 @@ jobs:
|
||||
fail_on_error: true
|
||||
locale: "US"
|
||||
exclude: |
|
||||
./vendor/*
|
||||
./.golangci.yaml
|
||||
|
||||
- uses: get-woke/woke-action-reviewdog@d71fd0115146a01c3181439ce714e21a69d75e31 # v0
|
||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,3 +4,5 @@
|
||||
ko
|
||||
|
||||
.DS_Store
|
||||
|
||||
/vendor/
|
||||
|
@ -1,4 +1,2 @@
|
||||
vendor/**
|
||||
|
||||
# Uses some Cobra methods
|
||||
pkg/commands/*
|
||||
|
@ -24,7 +24,7 @@ pushd "${PROJECT_ROOT}"
|
||||
trap popd EXIT
|
||||
|
||||
# Verify that all source files are correctly formatted.
|
||||
find . -name "*.go" | grep -v vendor/ | xargs gofmt -d -e -l
|
||||
find . -name "*.go" -exec gofmt -d -e -l {} +
|
||||
|
||||
# Verify that generated Markdown docs are up-to-date.
|
||||
tmpdir=$(mktemp -d)
|
||||
|
@ -24,6 +24,5 @@ pushd ${PROJECT_ROOT}
|
||||
trap popd EXIT
|
||||
|
||||
go mod tidy
|
||||
go mod vendor
|
||||
|
||||
go run $PROJECT_ROOT/cmd/help/main.go --dir=$PROJECT_ROOT/docs/reference/
|
||||
|
@ -24,9 +24,3 @@ pushd ${PROJECT_ROOT}
|
||||
trap popd EXIT
|
||||
|
||||
go mod tidy
|
||||
go mod vendor
|
||||
|
||||
# Delete all vendored broken symlinks.
|
||||
# From https://stackoverflow.com/questions/22097130/delete-all-broken-symbolic-links-with-a-line
|
||||
find vendor/ -type l -exec sh -c 'for x; do [ -e "$x" ] || rm "$x"; done' _ {} +
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user