Print the path a recursive deps file was found in
This is imperfect - it says:
```
Found Godeps.json file in /home/thockin/tmp/glide/src/k8s.io/kubernetes/vendor/github.com/opencontainers/runc
```
when it would be better to say:
```
Found Godeps.json file in vendor/github.com/opencontainers/runc
```
or:
```
Found Godeps.json file in k8s.io/kubernetes/vendor/github.com/opencontainers/runc
```
or:
```
Found Godeps.json file in vendored github.com/opencontainers/runc
```
diff --git a/gb/gb.go b/gb/gb.go
index b0a3c18..e99581d 100644
--- a/gb/gb.go
+++ b/gb/gb.go
@@ -24,7 +24,7 @@
return []*cfg.Dependency{}, nil
}
- msg.Info("Found GB manifest file.\n")
+ msg.Info("Found GB manifest file in %s\n", dir)
buf := []*cfg.Dependency{}
file, err := os.Open(path)
if err != nil {
diff --git a/godep/godep.go b/godep/godep.go
index 4407a14..5e937a1 100644
--- a/godep/godep.go
+++ b/godep/godep.go
@@ -52,7 +52,7 @@
if _, err := os.Stat(path); err != nil {
return []*cfg.Dependency{}, nil
}
- msg.Info("Found Godeps.json file.\n")
+ msg.Info("Found Godeps.json file in %s\n", dir)
buf := []*cfg.Dependency{}
diff --git a/gom/gom.go b/gom/gom.go
index fae091a..7d11262 100644
--- a/gom/gom.go
+++ b/gom/gom.go
@@ -24,7 +24,7 @@
return []*cfg.Dependency{}, nil
}
- msg.Info("Found Gomfile.\n")
+ msg.Info("Found Gomfile in %s\n", dir)
buf := []*cfg.Dependency{}
goms, err := parseGomfile(path)
@@ -107,4 +107,4 @@
}
return []string{}
-}
\ No newline at end of file
+}
diff --git a/gpm/gpm.go b/gpm/gpm.go
index 17a6f2f..6229937 100644
--- a/gpm/gpm.go
+++ b/gpm/gpm.go
@@ -29,7 +29,7 @@
msg.Info("Godeps is a directory. This is probably a Godep project.\n")
return []*cfg.Dependency{}, nil
}
- msg.Info("Found Godeps file.\n")
+ msg.Info("Found Godeps file in %s\n", dir)
buf := []*cfg.Dependency{}