gnolang / gnonative

Develop for Gno using your app's native language
Apache License 2.0
9 stars 9 forks source link

make clean removes rpc_grpc.pb.go, etc. #32

Closed jefft0 closed 9 months ago

jefft0 commented 9 months ago

I do the following commands:

git clone https://github.com/gnolang/gnomobile
make clean
rm gen.sum
make generate
git status

Some files are not generated, as shown by git:

deleted:    gnoboard/src/api/gnomobiletypes_pb.ts
deleted:    gnoboard/src/api/rpc_pb.ts
deleted:    service/rpc/rpc_grpc.pb.go

This is also a problem because when the .proto files are changed, files like rpc_grpc.pb.go are not updated by make generate .

jefft0 commented 9 months ago

While I was writing this issue, the bug was fixed by this commit :-) https://github.com/gnolang/gnomobile/commit/cc97dbc3c5bf6fa6f6c9fbc0eafb8edebe09ae77