This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use -skip-tools to bypass this behavior
- Loading branch information
Showing
19 changed files
with
624 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
cmd/dep/testdata/harness_tests/init/glide1/final/Gopkg.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
cmd/dep/testdata/harness_tests/init/glide1/final/Gopkg.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ignored = ["github.com/sdboyer/dep-test","github.com/golang/notexist/samples"] | ||
|
||
[[dependencies]] | ||
branch = "master" | ||
name = "github.com/golang/lint" | ||
|
||
[[dependencies]] | ||
branch = "master" | ||
name = "github.com/sdboyer/deptest" | ||
source = "https://github.com/carolynvs/deptest.git" | ||
|
||
[[dependencies]] | ||
name = "github.com/sdboyer/deptestdos" | ||
version = "v2.0.0" |
14 changes: 14 additions & 0 deletions
14
cmd/dep/testdata/harness_tests/init/glide1/initial/glide.lock
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
cmd/dep/testdata/harness_tests/init/glide1/initial/glide.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package: github.com/golang/notexist | ||
homepage: http://example.com | ||
license: MIT | ||
owners: | ||
- name: Sam Boyer | ||
email: sdboyer@example.com | ||
homepage: http://sdboyer.io | ||
ignore: | ||
- github.com/sdboyer/dep-test | ||
excludeDirs: | ||
- samples | ||
import: | ||
- package: github.com/sdboyer/deptest | ||
repo: https://github.com/carolynvs/deptest.git | ||
vcs: git | ||
version: master | ||
- package: github.com/sdboyer/deptestdos | ||
version: v2.0.0 | ||
testImport: | ||
- package: github.com/golang/lint |
17 changes: 17 additions & 0 deletions
17
cmd/dep/testdata/harness_tests/init/glide1/initial/main.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright 2017 The Go Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package main | ||
|
||
import ( | ||
"fmt" | ||
|
||
_ "github.com/sdboyer/dep-test" | ||
"github.com/sdboyer/deptestdos" | ||
) | ||
|
||
func main() { | ||
var x deptestdos.Bar | ||
fmt.Println(x) | ||
} |
12 changes: 12 additions & 0 deletions
12
cmd/dep/testdata/harness_tests/init/glide1/initial/samples/samples.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright 2016 The Go Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package samples | ||
|
||
import dt "github.com/carolynvs/go-dep-test" | ||
|
||
func Sample1() int { | ||
var x = dt.Thing | ||
return x | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"commands": [ | ||
["init", "-no-examples"] | ||
], | ||
"gopath-initial": { | ||
"github.com/golang/lint": "cb00e5669539f047b2f4c53a421a01b0c8e172c6", | ||
"github.com/sdboyer/deptest": "3f4c3bea144e112a69bbe5d8d01c1b09a544253f" | ||
}, | ||
"vendor-final": [ | ||
"github.com/sdboyer/deptest", | ||
"github.com/sdboyer/deptestdos" | ||
] | ||
} |
Oops, something went wrong.