Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-20 11:08:12 -06:00
parent d78414ee55
commit e10696e119
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
all: repo.pb.go all: repo.pb.go
make -C example make -C forgeConfig
vet: lint vet: lint
GO111MODULE=off go vet GO111MODULE=off go vet
@ -17,7 +17,7 @@ lint:
# autofixes your import headers in your golang files # autofixes your import headers in your golang files
goimports: goimports:
goimports -w *.go goimports -w *.go
make -C example goimports make -C forgeConfig goimports
redomod: redomod:
rm -f go.* rm -f go.*
@ -27,7 +27,7 @@ redomod:
clean: clean:
rm -f *.pb.go rm -f *.pb.go
-rm -f go.* -rm -f go.*
make -C example clean make -C forgeConfig clean
repo.pb.go: repo.proto repo.pb.go: repo.proto
# I'm using version v1.35.x from google.golang.org/protobuf/cmd/protoc-gen-go # I'm using version v1.35.x from google.golang.org/protobuf/cmd/protoc-gen-go

View File

@ -13,4 +13,4 @@ run:
go run *.go go run *.go
clean: clean:
-rm -f example -rm -f forgeConfig