summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCastor Gemini <[email protected]>2025-08-24 01:08:38 -0500
committerJeff Carr <[email protected]>2025-08-24 01:08:38 -0500
commit0a28d985b88866d131e3c6e2ce025edb99c1258c (patch)
tree9b5fffe1e612360ea9db6a717aa27043992da700
parent40243de35b208238e58441d7a9f6973caafaf0d9 (diff)
Fix: Update Makefile to build regex binary
-rw-r--r--Makefile15
-rw-r--r--doImport.go2
2 files changed, 9 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 8cac298..2f3349b 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ install: goimports vet
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
-gemini:
+regex:
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
@@ -28,10 +28,10 @@ install-raw: goimports vet
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
andlabs: clean install
- gemini --gui gocui --gui-verbose --gui-file ../../toolkits/andlabs/andlabs.so
+ regex --gui gocui --gui-verbose --gui-file ../../toolkits/andlabs/andlabs.so
gocui: install
- gemini --gui gocui --gui-verbose --gui-file ../../toolkits/gocui/gocui.so >/tmp/gemini.log 2>&1
+ regex --gui gocui --gui-verbose --gui-file ../../toolkits/gocui/gocui.so >/tmp/regex.log 2>&1
goimports:
reset
@@ -40,13 +40,14 @@ goimports:
@# // gofmt -w -r '"go.wit.com/gui/gadgets" -> "go.wit.com/lib/gadgets"' *.go
clean:
- -rm -f gemini go.*
+ -rm -f regex go.*
go-mod-clean purge
identify-protobuf:
- autogenpb --identify ~/.gemini/gemini.pb
+ autogenpb --identify "~/.regex/regex.pb"
playback:
- gemini playback
- # gemini playback --uuid a1b2c3d4-e5f6-4a5b-8c9d-1e2f3a4b5c6d
+ regex playback
+ # regex playback --uuid a1b2c3d4-e5f6-4a5b-8c9d-1e2f3a4b5c6d
+
diff --git a/doImport.go b/doImport.go
index ec9edb3..a9b7083 100644
--- a/doImport.go
+++ b/doImport.go
@@ -53,4 +53,4 @@ func doImport(filename string) {
log.Info("Added new entry to 'auto' chat.")
}
}
-} \ No newline at end of file
+}