Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 33bdf18

Browse files
committed
manifest: add recursive ignore integration test
1 parent 2966614 commit 33bdf18

File tree

8 files changed

+69
-0
lines changed

8 files changed

+69
-0
lines changed

cmd/dep/testdata/harness_tests/ensure/pkg-ignored/recursive-ignore/final/Gopkg.lock

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ignored = ["github.com/golang/notexist/samples/*"]
2+
3+
[[constraint]]
4+
branch = "master"
5+
name = "github.com/sdboyer/deptest"

cmd/dep/testdata/harness_tests/ensure/pkg-ignored/recursive-ignore/initial/Gopkg.lock

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ignored = ["github.com/golang/notexist/samples/*"]
2+
3+
[[constraint]]
4+
branch = "master"
5+
name = "github.com/sdboyer/deptest"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Copyright 2017 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
package main
6+
7+
import (
8+
_ "github.com/sdboyer/deptest"
9+
)
10+
11+
func main() {
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright 2017 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
package samples
6+
7+
import _ "github.com/sdboyer/deptestdos"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright 2017 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
package subsamples
6+
7+
import _ "github.com/sdboyer/dep-test"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"commands": [
3+
["ensure"]
4+
],
5+
"error-expected": "",
6+
"vendor-final": [
7+
"github.com/sdboyer/deptest"
8+
]
9+
}

0 commit comments

Comments
 (0)