Browse Source

Added filter for .vendor dir

pull/103/head
Unknown 11 years ago
parent
commit
0e1e063bd4
  1. 7
      cmd/helper_windows.go

7
cmd/helper_windows.go

@ -36,14 +36,9 @@ func makeLink(srcPath, destPath string) error {
}
os.RemoveAll(destPath)
err := com.CopyDir(srcPath, destPath, func(filePath string) bool {
return com.CopyDir(srcPath, destPath, func(filePath string) bool {
return strings.Contains(filePath, doc.VENDOR)
})
if err == nil {
// .vendor dir should not be copy
os.RemoveAll(filepath.Join(destPath, doc.VENDOR))
}
return err
}
func volumnType(dir string) string {

Loading…
Cancel
Save