parent
d78414ee55
commit
e10696e119
6
Makefile
6
Makefile
|
@ -6,7 +6,7 @@
|
|||
|
||||
|
||||
all: repo.pb.go
|
||||
make -C example
|
||||
make -C forgeConfig
|
||||
|
||||
vet: lint
|
||||
GO111MODULE=off go vet
|
||||
|
@ -17,7 +17,7 @@ lint:
|
|||
# autofixes your import headers in your golang files
|
||||
goimports:
|
||||
goimports -w *.go
|
||||
make -C example goimports
|
||||
make -C forgeConfig goimports
|
||||
|
||||
redomod:
|
||||
rm -f go.*
|
||||
|
@ -27,7 +27,7 @@ redomod:
|
|||
clean:
|
||||
rm -f *.pb.go
|
||||
-rm -f go.*
|
||||
make -C example clean
|
||||
make -C forgeConfig clean
|
||||
|
||||
repo.pb.go: repo.proto
|
||||
# I'm using version v1.35.x from google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
|
|
|
@ -13,4 +13,4 @@ run:
|
|||
go run *.go
|
||||
|
||||
clean:
|
||||
-rm -f example
|
||||
-rm -f forgeConfig
|
||||
|
|
Loading…
Reference in New Issue