a bit of prep-work for adding caching

This commit is contained in:
Brad
2014-03-02 22:35:01 -08:00
parent 600bcdea38
commit 18d5421706
5 changed files with 21 additions and 1 deletions

View File

@@ -135,7 +135,11 @@ func run(path string) {
// get the repository root directory
dir := filepath.Dir(path)
code := repo.Repo{Path: dir}
code := repo.Repo{
Name: dir,
Branch: "HEAD", // should we do this?
Path: dir,
}
// does the local repository match the
// $GOPATH/src/{package} pattern? This is