This repository has been archived by the owner. It is now read-only.
experiment
Switch branches/tags
Nothing to show
Clone or download
Latest commit a08c617 Sep 14, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE license Jul 2, 2015
Readme link to commit as well Jul 28, 2015
doc.go fix typo Jul 9, 2015
main.go refactor Sep 13, 2015
main_test.go check for errors Sep 13, 2015

Readme

vexp is a vendoring experiment

Usage:

	vexp [-v] [-u packages]

Vexp finds all dependencies of all packages in ./...,
and copies their files into subdirectory "vendor", such
that the go tool will use the copied packages when run
with GO15VENDOREXPERIMENT=1 in its environment.

For more details on the Go 1.5 vendor experiment, see
https://groups.google.com/d/msg/golang-dev/74zjMON9glU/4lWCRDCRZg0J
and the description of the change introducing the feature,
https://go.googlesource.com/go/+/183cc0cd41

With no options, vexp only adds new packages; existing
packages are left unchanged.

Flag -u updates already-vendored dependencies. It takes
a colon-separated list of package patterns. If any
dependency matches one of these patterns, it will be
copied from $GOPATH into the vendor directory, even if
already present.

For more about specifying packages, see 'go help packages'.