minor update to makefiles

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-12-19 17:45:07 -06:00
parent 9df8e6a606
commit c9ad2d3b64
5 changed files with 18 additions and 3 deletions

View File

@ -16,6 +16,9 @@ all:
make config.pb.go make config.pb.go
make account.pb.go make account.pb.go
clean:
rm -f *.pb.go
events.pb.go: events.proto events.pb.go: events.proto
protoc --go_out=. events.proto protoc --go_out=. events.proto

View File

@ -287,7 +287,9 @@ func init() {
proto.RegisterType((*Account_HttpHeader)(nil), "witProtobuf.Account.HttpHeader") proto.RegisterType((*Account_HttpHeader)(nil), "witProtobuf.Account.HttpHeader")
} }
func init() { proto.RegisterFile("account.proto", fileDescriptor_8e28828dcb8d24f0) } func init() {
proto.RegisterFile("account.proto", fileDescriptor_8e28828dcb8d24f0)
}
var fileDescriptor_8e28828dcb8d24f0 = []byte{ var fileDescriptor_8e28828dcb8d24f0 = []byte{
// 398 bytes of a gzipped FileDescriptorProto // 398 bytes of a gzipped FileDescriptorProto

View File

@ -200,7 +200,9 @@ func init() {
proto.RegisterType((*Config)(nil), "witProtobuf.Config") proto.RegisterType((*Config)(nil), "witProtobuf.Config")
} }
func init() { proto.RegisterFile("config.proto", fileDescriptor_3eaf2c85e69e9ea4) } func init() {
proto.RegisterFile("config.proto", fileDescriptor_3eaf2c85e69e9ea4)
}
var fileDescriptor_3eaf2c85e69e9ea4 = []byte{ var fileDescriptor_3eaf2c85e69e9ea4 = []byte{
// 319 bytes of a gzipped FileDescriptorProto // 319 bytes of a gzipped FileDescriptorProto

View File

@ -420,7 +420,9 @@ func init() {
proto.RegisterType((*Event_VM)(nil), "witProtobuf.Event.VM") proto.RegisterType((*Event_VM)(nil), "witProtobuf.Event.VM")
} }
func init() { proto.RegisterFile("events.proto", fileDescriptor_8f22242cb04491f9) } func init() {
proto.RegisterFile("events.proto", fileDescriptor_8f22242cb04491f9)
}
var fileDescriptor_8f22242cb04491f9 = []byte{ var fileDescriptor_8f22242cb04491f9 = []byte{
// 558 bytes of a gzipped FileDescriptorProto // 558 bytes of a gzipped FileDescriptorProto

View File

@ -1,2 +1,8 @@
build:
go build
prep:
go get -v -t -u
run: run:
go run *.go go run *.go