summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.go b/build.go
index 893d9ba..58fe7ad 100644
--- a/build.go
+++ b/build.go
@@ -58,6 +58,9 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err
data, _ := repo.ReadFile(".forge")
log.Info(".forge =", string(data))
log.Info("todo: do the custom build instructions")
+ basedir, filename := filepath.Split(repo.GetGoPath())
+ log.Info("touching filename", basedir, filename)
+ repo.RunVerbose([]string{"touch", filename})
return nil
}