From 1d352604b9a88e59284d9b1d6a46019c31816247 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 5 Dec 2024 14:17:50 -0600 Subject: still invalid repos getting in the repos.pb --- Makefile | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d12558b..ab957ed 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,12 @@ verbose: GO111MODULE=off go build -v -x \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" -install: +install: goimports GO111MODULE=off go install \ -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" goimports: + reset goimports -w *.go @# // to globally reset paths: @# // gofmt -w -r '"go.wit.com/gui/gadgets" -> "go.wit.com/lib/gadgets"' *.go @@ -24,37 +25,25 @@ goimports: gocui: install forge --gui gocui -check-git-clean: - @git diff-index --quiet HEAD -- || (echo "Git repository is dirty, please commit your changes first"; exit 1) - -redomod: - rm -f go.* - GO111MODULE= go mod init - GO111MODULE= go mod tidy - redomod-all: forge --do-RedoGoMod redomod-erase: forge --do-RedoGoMod --do-erase -list: install - reset - forge --do-list - private: install reset forge --find-private -list-fix: install +fix: install reset - forge --do-list --do-fix + forge --fix -list-readonly: install +readonly: install reset forge --do-list --find-readonly -list-config: install +config: install forge --config scan: install -- cgit v1.2.3