| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
The Knative projects can be built without a vendor directory. This is a convenience for developers, and brings a number of benefits:
For more details and reasons for avoiding the vendor directory, see knative/infra#134.
The knative/infra#134 is ongoing effort. Currently, it is possible to use make projects vendorless, only if they don't use Knative nor Kubernetes code-generation tools. See the epic issue for current status.
The following steps are required to migrate a project to be vendorless:
-source $(dirname $0)/../vendor/knative.dev/hack/release.sh
+source "$(go run knative.dev/hack/cmd/script release.sh)"package hack
import (
_ "knative.dev/hack/cmd/script"
)| Back | FazBrowse Home | New Git URL |