This repository was archived by the owner on Sep 9, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 15 files changed +105
-180
lines changed
cmd/dep/testdata/harness_tests Expand file tree Collapse file tree 15 files changed +105
-180
lines changed Original file line number Diff line number Diff line change 1
1
2
- # # EXAMPLE (these lines may be deleted)
3
- #
2
+ # # Gopkg.toml example values (these lines may be deleted)
3
+
4
4
# # "required" lists a set of packages (not projects) that must be included in
5
5
# # Gopkg.lock. This list is merged with the set of packages imported by the current
6
6
# # project. Use it when your project needs a package it doesn't explicitly import -
7
7
# # including "main" packages.
8
8
# required = ["github.com/user/thing/cmd/thing"]
9
- #
10
- #
9
+
11
10
# # "ignored" lists a set of packages (not projects) that are ignored when
12
11
# # dep statically analyzes source code. Ignored packages can be in this project,
13
12
# # or in a dependency.
14
13
# ignored = ["github.com/user/project/badpkg"]
15
- #
16
- #
17
- # [[dependencies]]
14
+
18
15
# # Dependencies define constraints on dependent projects. They are respected by
19
16
# # dep whether coming from the Gopkg.toml of the current project or a dependency.
20
- #
17
+ # [[dependencies]]
21
18
# # Required: the root import path of the project being constrained.
22
19
# name = "github.com/user/project"
23
20
#
29
26
#
30
27
# # Optional: an alternate location (URL or import path) for the project's source.
31
28
# source = "https://github.com/myfork/package.git"
32
- #
33
- #
34
- # [[overrides]]
29
+
35
30
# # Overrides have the same structure as [[dependencies]], but supercede all
36
31
# # [[dependencies]] declarations from all projects. Only the current project's
37
32
# # [[overrides]] are applied.
38
33
# #
39
34
# # Overrides are a sledgehammer. Use them only as a last resort.
40
- #
35
+ # [[overrides]]
41
36
# # Required: the root import path of the project being constrained.
42
37
# name = "github.com/user/project"
43
38
#
Original file line number Diff line number Diff line change 1
1
2
- # # EXAMPLE (these lines may be deleted)
3
- #
2
+ # # Gopkg.toml example values (these lines may be deleted)
3
+
4
4
# # "required" lists a set of packages (not projects) that must be included in
5
5
# # Gopkg.lock. This list is merged with the set of packages imported by the current
6
6
# # project. Use it when your project needs a package it doesn't explicitly import -
7
7
# # including "main" packages.
8
8
# required = ["github.com/user/thing/cmd/thing"]
9
- #
10
- #
9
+
11
10
# # "ignored" lists a set of packages (not projects) that are ignored when
12
11
# # dep statically analyzes source code. Ignored packages can be in this project,
13
12
# # or in a dependency.
14
13
# ignored = ["github.com/user/project/badpkg"]
15
- #
16
- #
17
- # [[dependencies]]
14
+
18
15
# # Dependencies define constraints on dependent projects. They are respected by
19
16
# # dep whether coming from the Gopkg.toml of the current project or a dependency.
20
- #
17
+ # [[dependencies]]
21
18
# # Required: the root import path of the project being constrained.
22
19
# name = "github.com/user/project"
23
20
#
29
26
#
30
27
# # Optional: an alternate location (URL or import path) for the project's source.
31
28
# source = "https://github.com/myfork/package.git"
32
- #
33
- #
34
- # [[overrides]]
29
+
35
30
# # Overrides have the same structure as [[dependencies]], but supercede all
36
31
# # [[dependencies]] declarations from all projects. Only the current project's
37
32
# # [[overrides]] are applied.
38
33
# #
39
34
# # Overrides are a sledgehammer. Use them only as a last resort.
40
- #
35
+ # [[overrides]]
41
36
# # Required: the root import path of the project being constrained.
42
37
# name = "github.com/user/project"
43
38
#
Original file line number Diff line number Diff line change 1
1
2
- # # EXAMPLE (these lines may be deleted)
3
- #
2
+ # # Gopkg.toml example values (these lines may be deleted)
3
+
4
4
# # "required" lists a set of packages (not projects) that must be included in
5
5
# # Gopkg.lock. This list is merged with the set of packages imported by the current
6
6
# # project. Use it when your project needs a package it doesn't explicitly import -
7
7
# # including "main" packages.
8
8
# required = ["github.com/user/thing/cmd/thing"]
9
- #
10
- #
9
+
11
10
# # "ignored" lists a set of packages (not projects) that are ignored when
12
11
# # dep statically analyzes source code. Ignored packages can be in this project,
13
12
# # or in a dependency.
14
13
# ignored = ["github.com/user/project/badpkg"]
15
- #
16
- #
17
- # [[dependencies]]
14
+
18
15
# # Dependencies define constraints on dependent projects. They are respected by
19
16
# # dep whether coming from the Gopkg.toml of the current project or a dependency.
20
- #
17
+ # [[dependencies]]
21
18
# # Required: the root import path of the project being constrained.
22
19
# name = "github.com/user/project"
23
20
#
29
26
#
30
27
# # Optional: an alternate location (URL or import path) for the project's source.
31
28
# source = "https://github.com/myfork/package.git"
32
- #
33
- #
34
- # [[overrides]]
29
+
35
30
# # Overrides have the same structure as [[dependencies]], but supercede all
36
31
# # [[dependencies]] declarations from all projects. Only the current project's
37
32
# # [[overrides]] are applied.
38
33
# #
39
34
# # Overrides are a sledgehammer. Use them only as a last resort.
40
- #
35
+ # [[overrides]]
41
36
# # Required: the root import path of the project being constrained.
42
37
# name = "github.com/user/project"
43
38
#
Original file line number Diff line number Diff line change 1
1
2
- # # EXAMPLE (these lines may be deleted)
3
- #
2
+ # # Gopkg.toml example values (these lines may be deleted)
3
+
4
4
# # "required" lists a set of packages (not projects) that must be included in
5
5
# # Gopkg.lock. This list is merged with the set of packages imported by the current
6
6
# # project. Use it when your project needs a package it doesn't explicitly import -
7
7
# # including "main" packages.
8
8
# required = ["github.com/user/thing/cmd/thing"]
9
- #
10
- #
9
+
11
10
# # "ignored" lists a set of packages (not projects) that are ignored when
12
11
# # dep statically analyzes source code. Ignored packages can be in this project,
13
12
# # or in a dependency.
14
13
# ignored = ["github.com/user/project/badpkg"]
15
- #
16
- #
17
- # [[dependencies]]
14
+
18
15
# # Dependencies define constraints on dependent projects. They are respected by
19
16
# # dep whether coming from the Gopkg.toml of the current project or a dependency.
20
- #
17
+ # [[dependencies]]
21
18
# # Required: the root import path of the project being constrained.
22
19
# name = "github.com/user/project"
23
20
#
29
26
#
30
27
# # Optional: an alternate location (URL or import path) for the project's source.
31
28
# source = "https://github.com/myfork/package.git"
32
- #
33
- #
34
- # [[overrides]]
29
+
35
30
# # Overrides have the same structure as [[dependencies]], but supercede all
36
31
# # [[dependencies]] declarations from all projects. Only the current project's
37
32
# # [[overrides]] are applied.
38
33
# #
39
34
# # Overrides are a sledgehammer. Use them only as a last resort.
40
- #
35
+ # [[overrides]]
41
36
# # Required: the root import path of the project being constrained.
42
37
# name = "github.com/user/project"
43
38
#
Original file line number Diff line number Diff line change 1
1
2
- # # EXAMPLE (these lines may be deleted)
3
- #
2
+ # # Gopkg.toml example values (these lines may be deleted)
3
+
4
4
# # "required" lists a set of packages (not projects) that must be included in
5
5
# # Gopkg.lock. This list is merged with the set of packages imported by the current
6
6
# # project. Use it when your project needs a package it doesn't explicitly import -
7
7
# # including "main" packages.
8
8
# required = ["github.com/user/thing/cmd/thing"]
9
- #
10
- #
9
+
11
10
# # "ignored" lists a set of packages (not projects) that are ignored when
12
11
# # dep statically analyzes source code. Ignored packages can be in this project,
13
12
# # or in a dependency.
14
13
# ignored = ["github.com/user/project/badpkg"]
15
- #
16
- #
17
- # [[dependencies]]
14
+
18
15
# # Dependencies define constraints on dependent projects. They are respected by
19
16
# # dep whether coming from the Gopkg.toml of the current project or a dependency.
20
- #
17
+ # [[dependencies]]
21
18
# # Required: the root import path of the project being constrained.
22
19
# name = "github.com/user/project"
23
20
#
29
26
#
30
27
# # Optional: an alternate location (URL or import path) for the project's source.
31
28
# source = "https://github.com/myfork/package.git"
32
- #
33
- #
34
- # [[overrides]]
29
+
35
30
# # Overrides have the same structure as [[dependencies]], but supercede all
36
31
# # [[dependencies]] declarations from all projects. Only the current project's
37
32
# # [[overrides]] are applied.
38
33
# #
39
34
# # Overrides are a sledgehammer. Use them only as a last resort.
40
- #
35
+ # [[overrides]]
41
36
# # Required: the root import path of the project being constrained.
42
37
# name = "github.com/user/project"
43
38
#
Original file line number Diff line number Diff line change 1
1
2
- # # EXAMPLE (these lines may be deleted)
3
- #
2
+ # # Gopkg.toml example values (these lines may be deleted)
3
+
4
4
# # "required" lists a set of packages (not projects) that must be included in
5
5
# # Gopkg.lock. This list is merged with the set of packages imported by the current
6
6
# # project. Use it when your project needs a package it doesn't explicitly import -
7
7
# # including "main" packages.
8
8
# required = ["github.com/user/thing/cmd/thing"]
9
- #
10
- #
9
+
11
10
# # "ignored" lists a set of packages (not projects) that are ignored when
12
11
# # dep statically analyzes source code. Ignored packages can be in this project,
13
12
# # or in a dependency.
14
13
# ignored = ["github.com/user/project/badpkg"]
15
- #
16
- #
17
- # [[dependencies]]
14
+
18
15
# # Dependencies define constraints on dependent projects. They are respected by
19
16
# # dep whether coming from the Gopkg.toml of the current project or a dependency.
20
- #
17
+ # [[dependencies]]
21
18
# # Required: the root import path of the project being constrained.
22
19
# name = "github.com/user/project"
23
20
#
29
26
#
30
27
# # Optional: an alternate location (URL or import path) for the project's source.
31
28
# source = "https://github.com/myfork/package.git"
32
- #
33
- #
34
- # [[overrides]]
29
+
35
30
# # Overrides have the same structure as [[dependencies]], but supercede all
36
31
# # [[dependencies]] declarations from all projects. Only the current project's
37
32
# # [[overrides]] are applied.
38
33
# #
39
34
# # Overrides are a sledgehammer. Use them only as a last resort.
40
- #
35
+ # [[overrides]]
41
36
# # Required: the root import path of the project being constrained.
42
37
# name = "github.com/user/project"
43
38
#
Original file line number Diff line number Diff line change 1
1
2
- # # EXAMPLE (these lines may be deleted)
3
- #
2
+ # # Gopkg.toml example values (these lines may be deleted)
3
+
4
4
# # "required" lists a set of packages (not projects) that must be included in
5
5
# # Gopkg.lock. This list is merged with the set of packages imported by the current
6
6
# # project. Use it when your project needs a package it doesn't explicitly import -
7
7
# # including "main" packages.
8
8
# required = ["github.com/user/thing/cmd/thing"]
9
- #
10
- #
9
+
11
10
# # "ignored" lists a set of packages (not projects) that are ignored when
12
11
# # dep statically analyzes source code. Ignored packages can be in this project,
13
12
# # or in a dependency.
14
13
# ignored = ["github.com/user/project/badpkg"]
15
- #
16
- #
17
- # [[dependencies]]
14
+
18
15
# # Dependencies define constraints on dependent projects. They are respected by
19
16
# # dep whether coming from the Gopkg.toml of the current project or a dependency.
20
- #
17
+ # [[dependencies]]
21
18
# # Required: the root import path of the project being constrained.
22
19
# name = "github.com/user/project"
23
20
#
29
26
#
30
27
# # Optional: an alternate location (URL or import path) for the project's source.
31
28
# source = "https://github.com/myfork/package.git"
32
- #
33
- #
34
- # [[overrides]]
29
+
35
30
# # Overrides have the same structure as [[dependencies]], but supercede all
36
31
# # [[dependencies]] declarations from all projects. Only the current project's
37
32
# # [[overrides]] are applied.
38
33
# #
39
34
# # Overrides are a sledgehammer. Use them only as a last resort.
40
- #
35
+ # [[overrides]]
41
36
# # Required: the root import path of the project being constrained.
42
37
# name = "github.com/user/project"
43
38
#
Original file line number Diff line number Diff line change 1
1
2
- # # EXAMPLE (these lines may be deleted)
3
- #
2
+ # # Gopkg.toml example values (these lines may be deleted)
3
+
4
4
# # "required" lists a set of packages (not projects) that must be included in
5
5
# # Gopkg.lock. This list is merged with the set of packages imported by the current
6
6
# # project. Use it when your project needs a package it doesn't explicitly import -
7
7
# # including "main" packages.
8
8
# required = ["github.com/user/thing/cmd/thing"]
9
- #
10
- #
9
+
11
10
# # "ignored" lists a set of packages (not projects) that are ignored when
12
11
# # dep statically analyzes source code. Ignored packages can be in this project,
13
12
# # or in a dependency.
14
13
# ignored = ["github.com/user/project/badpkg"]
15
- #
16
- #
17
- # [[dependencies]]
14
+
18
15
# # Dependencies define constraints on dependent projects. They are respected by
19
16
# # dep whether coming from the Gopkg.toml of the current project or a dependency.
20
- #
17
+ # [[dependencies]]
21
18
# # Required: the root import path of the project being constrained.
22
19
# name = "github.com/user/project"
23
20
#
29
26
#
30
27
# # Optional: an alternate location (URL or import path) for the project's source.
31
28
# source = "https://github.com/myfork/package.git"
32
- #
33
- #
34
- # [[overrides]]
29
+
35
30
# # Overrides have the same structure as [[dependencies]], but supercede all
36
31
# # [[dependencies]] declarations from all projects. Only the current project's
37
32
# # [[overrides]] are applied.
38
33
# #
39
34
# # Overrides are a sledgehammer. Use them only as a last resort.
40
- #
35
+ # [[overrides]]
41
36
# # Required: the root import path of the project being constrained.
42
37
# name = "github.com/user/project"
43
38
#
You can’t perform that action at this time.
0 commit comments