summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-04 02:15:02 -0500
committerJeff Carr <[email protected]>2025-10-04 02:15:02 -0500
commitc4af51c5102e763aa08b66bf18af94de0b9f7453 (patch)
tree108a6fcb77e7ba8f4846173004debd30ec6a7daf
parentb769f3aa52787406147885757a65cf25ff2a342c (diff)
fix attempt to build pluginv0.0.26
-rw-r--r--buildPlugin.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/buildPlugin.go b/buildPlugin.go
index 8d455a9..6dbe187 100644
--- a/buildPlugin.go
+++ b/buildPlugin.go
@@ -22,12 +22,13 @@ func BuildPlugin(pname string) bool {
log.Info("### Error ####")
log.Info("")
log.Infof("To attempt to build the %s plugin, run:\n", pname)
- log.Info("forge --build go.wit.com/toolkits/gocui")
+ cmd := []string{"forge", "dev", "--build", "go.wit.com/toolkits/" + pname}
+ log.Info(cmd)
log.Info("")
if !QuestionUser("Would you like to run that now?") {
return false
}
- r := shell.RunRealtime([]string{"forge", "--build", "go.wit.com/toolkits/" + pname})
+ r := shell.RunRealtime(cmd)
if r.Error == nil {
log.Info("build worked")
log.Info("You must copy that file to ~/go/lib/go-gui/")