diff options
| author | Jeff Carr <[email protected]> | 2024-12-14 10:48:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-14 10:48:08 -0600 |
| commit | d20ce6b0e8153f41421b6c245a8a5ab5aac079f7 (patch) | |
| tree | 20d5bf05b35ab45e1a97b062aa93f3df02659944 /build.go | |
| parent | b715fdd11a8dd169c4edd7f093333553878c1f08 (diff) | |
add NewestAge(). this is dumb. move this to gitpb
Diffstat (limited to 'build.go')
| -rw-r--r-- | build.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -48,6 +48,14 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err return err } + if repo.Exists(".forge") { + log.Info("custom build instructions") + data, _ := repo.ReadFile(".forge") + log.Info(".forge =", string(data)) + log.Info("todo: do the custom build instructions") + return nil + } + // if not GoPrimitive, autogen each dependent git repo if repo.GoDepsLen() != 0 { // build the protobuf files in all protobuf repos |
