Skip to content

Commit

Permalink
Rename gen.go -> cbor_gen.go (#446)
Browse files Browse the repository at this point in the history
fixes #380
  • Loading branch information
Stebalien authored Jul 11, 2024
1 parent 5aa1e01 commit 18fa7de
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
//go:generate go run .

func main() {
err := gen.WriteTupleEncodersToFile("../gpbft/gen.go", "gpbft",
err := gen.WriteTupleEncodersToFile("../gpbft/cbor_gen.go", "gpbft",
gpbft.TipSet{},
gpbft.GMessage{},
gpbft.SupplementalData{},
Expand All @@ -27,15 +27,15 @@ func main() {
os.Exit(1)
}

err = gen.WriteTupleEncodersToFile("../certs/gen.go", "certs",
err = gen.WriteTupleEncodersToFile("../certs/cbor_gen.go", "certs",
certs.PowerTableDelta{},
certs.FinalityCertificate{},
)
if err != nil {
fmt.Println(err)
os.Exit(1)
}
err = gen.WriteTupleEncodersToFile("../certexchange/gen.go", "certexchange",
err = gen.WriteTupleEncodersToFile("../certexchange/cbor_gen.go", "certexchange",
certexchange.Request{},
certexchange.ResponseHeader{},
)
Expand Down
File renamed without changes.

0 comments on commit 18fa7de

Please sign in to comment.