From 54a93cd5ebbaf7ed72704c1af9a8be5b8c71f5bd Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 27 Nov 2024 21:26:39 -0600 Subject: protobuf 'Repos' renamed 'ForgeConfigs' --- forgeConfig/Makefile | 1 + forgeConfig/main.go | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'forgeConfig') diff --git a/forgeConfig/Makefile b/forgeConfig/Makefile index a83e4cc..cd23615 100644 --- a/forgeConfig/Makefile +++ b/forgeConfig/Makefile @@ -6,6 +6,7 @@ build: -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" ./forgeConfig FORGE_HOME=/tmp/forge ./forgeConfig + FORGE_HOME=/tmp/forge ./forgeConfig --list install: GO111MODULE=off go install \ diff --git a/forgeConfig/main.go b/forgeConfig/main.go index fe53fe8..76d91e0 100644 --- a/forgeConfig/main.go +++ b/forgeConfig/main.go @@ -19,14 +19,11 @@ func main() { if argv.List { repos.PrintTable() - /* - log.Info(forgepb.RepoHeader()) loop := repos.SortByPath() // get the list of repos for loop.Scan() { - r := loop.Repo() + r := loop.Next() log.Info("repo:", r.GoPath) } - */ os.Exit(0) } -- cgit v1.2.3