From 0a28d985b88866d131e3c6e2ce025edb99c1258c Mon Sep 17 00:00:00 2001 From: Castor Gemini Date: Sun, 24 Aug 2025 01:08:38 -0500 Subject: [PATCH] Fix: Update Makefile to build regex binary --- Makefile | 15 ++++++++------- doImport.go | 2 +- 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 +}