renamed devImport to testImport to make the meaning more clear
diff --git a/cfg/config.go b/cfg/config.go index afeed9a..50366d7 100644 --- a/cfg/config.go +++ b/cfg/config.go
@@ -51,7 +51,7 @@ // DevImports contains the test or other development imports for a project. // See the Dependency type for more details on how this is recorded. - DevImports Dependencies `yaml:"devimport,omitempty"` + DevImports Dependencies `yaml:"testImport,omitempty"` } // A transitive representation of a dependency for importing and exporting to yaml. @@ -64,7 +64,7 @@ Ignore []string `yaml:"ignore,omitempty"` Exclude []string `yaml:"excludeDirs,omitempty"` Imports Dependencies `yaml:"import"` - DevImports Dependencies `yaml:"devimport,omitempty"` + DevImports Dependencies `yaml:"testImport,omitempty"` } // ConfigFromYaml returns an instance of Config from YAML
diff --git a/cfg/lock.go b/cfg/lock.go index 517d3ba..8b4d252 100644 --- a/cfg/lock.go +++ b/cfg/lock.go
@@ -15,7 +15,7 @@ Hash string `yaml:"hash"` Updated time.Time `yaml:"updated"` Imports Locks `yaml:"imports"` - DevImports Locks `yaml:"devImports"` + DevImports Locks `yaml:"testImports"` } // LockfileFromYaml returns an instance of Lockfile from YAML
diff --git a/docs/glide.yaml.md b/docs/glide.yaml.md index 2943853..f0173ac 100644 --- a/docs/glide.yaml.md +++ b/docs/glide.yaml.md
@@ -44,4 +44,4 @@ - `subpackages`: A record of packages being used within a repository. This does not include all packages within a repository but rather those being used. - `os`: A list of operating systems used for filtering. If set it will compare the current runtime OS to the one specified and only fetch the dependency if there is a match. If not set filtering is skipped. The names are the same used in build flags and `GOOS` environment variable. - `arch`: A list of architectures used for filtering. If set it will compare the current runtime architecture to the one specified and only fetch the dependency if there is a match. If not set filtering is skipped. The names are the same used in build flags and `GOARCH` environment variable. -- `devImport`: A list of development packages. Each package has the same details as those listed under import. +- `testImport`: A list of packages used in tests that are not already listed in `import`. Each package has the same details as those listed under import.