Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #43 from imikushin/vendor-conf
Browse files Browse the repository at this point in the history
Use vendor.conf as common config file name
  • Loading branch information
imikushin authored Sep 9, 2016
2 parents 0fb97e9 + 7397fdf commit 6f78de3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trash.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
app.Flags = []cli.Flag{
cli.StringFlag{
Name: "file, f",
Value: "trash.conf",
Value: "vendor.conf",
Usage: "Vendored packages list",
},
cli.StringFlag{
Expand Down Expand Up @@ -94,7 +94,7 @@ func run(c *cli.Context) error {
}
logrus.Debugf("dir: '%s'", dir)

for _, trashFile = range []string{trashFile, "trash.yml", "glide.yaml", "glide.yml", "trash.yaml"} {
for _, trashFile = range []string{trashFile, "trash.conf", "vndr.cfg", "vendor.manifest", "trash.yml", "glide.yaml", "glide.yml", "trash.yaml"} {
if _, err = os.Stat(trashFile); err == nil {
break
}
Expand Down

0 comments on commit 6f78de3

Please sign in to comment.