diff options
| author | Jeff Carr <[email protected]> | 2025-02-22 09:42:49 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-22 09:42:49 -0600 |
| commit | 1d4817f6af2e1f11fdba5caffa079524c01f5eea (patch) | |
| tree | 52948248e3535804336fb015d41a52419e1a4cc0 /main.go | |
| parent | ec11efc34763260e7c93f883ebb7b6ceb502dfb2 (diff) | |
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 22 |
1 files changed, 5 insertions, 17 deletions
@@ -79,6 +79,11 @@ func main() { okExit("") } + if argv.BuildForge { + buildForge() + okExit("") + } + if argv.Checkout != nil { if err := doCheckout(); err != nil { badExit(err) @@ -124,23 +129,6 @@ func main() { okExit("") } - if argv.Show != "" { - repo := me.forge.FindByGoPath(argv.Show) - me.forge.HumanPrintRepo(repo) - // newt := repo.Times.LastUpdate.AsTime() - // oldt := repo.Times.MtimeHead.AsTime() - if repo.Times.LastUpdate == nil { - log.Info("SHOULD RUN Reload() here") - repo.Reload() - me.forge.HumanPrintRepo(repo) - } else { - if repo.Times.LastUpdate.Seconds < repo.Times.MtimeHead.Seconds { - log.Info("SHOULD RUN Reload() here") - } - } - okExit("") - } - if argv.GitFetch != nil { doGitFetch() okExit("") |
