diff options
| author | Jeff Carr <[email protected]> | 2025-10-22 09:21:04 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-22 09:21:04 -0500 |
| commit | 398235bdc52b7af008f401867e192900a01c06f8 (patch) | |
| tree | ca3e26f31ad2b335583fb195c60b9e5e23015a3e | |
| parent | 66d0426ccc05f7b88c102739f1f7f37984d927ac (diff) | |
new config names
| -rw-r--r-- | Save.go | 5 | ||||
| -rw-r--r-- | build.go | 10 |
2 files changed, 4 insertions, 11 deletions
@@ -22,7 +22,10 @@ func (f *Forge) Save() error { // MOVE THIS TO /lib/config ? if !(argvpb.GetAPPNAME() == "forge" || argvpb.GetAPPNAME() == "guireleaser") { log.Info("This is not forge") - return log.Errorf("Only forge can save the forge config file") + log.Info("NEED PROPER FILE LOCKING HERE") + log.Info("NEED PROPER FILE LOCKING / PB MERGING HERE") + log.Info("NEED PROPER FILE LOCKING / PB MERGING HERE") + // return log.Errorf("Only forge can save the forge config file") } // THIS IS NOT RIGHT ANYMORE ? @@ -138,16 +138,6 @@ func (f *Forge) doBuild(repo *gitpb.Repo, userFlags []string, goWhat string) err log.Info("result.Exit =", result.Exit) log.DaemonMode(false) log.Warn("go build failed", cmd) - /* - pwd, _ := os.Getwd() - log.Warn("go build pwd", pwd) - res2 := shell.RunEcho(cmd) - if res2.Exit == 0 { - log.Info("again failed", res2.Exit) - log.Info("again failed cmd", strings.Join(cmd, "a")) - log.Info("again failed", strings.Join(res2.Stdout, "\n")) - } - */ return errors.New("go " + goWhat + " failed: " + fmt.Sprint(result.Error)) } // make symlinks |
