Skip to content

Commit

Permalink
feat: Require correct import path (#32)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
amaury1093 and dependabot[bot] authored Jan 30, 2023
1 parent f134aa8 commit 6b922a0
Show file tree
Hide file tree
Showing 9 changed files with 1,277 additions and 419 deletions.
4 changes: 3 additions & 1 deletion gogoproto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# Match registration name to actual import path.
# ref: https://github.com/cosmos/cosmos-sdk/issues/14713
regenerate:
protoc --gogo_out=Mgoogle/protobuf/descriptor.proto=github.com/cosmos/gogoproto/protoc-gen-gogo/descriptor:../../../../ --proto_path=../../../../:../protobuf/:. *.proto
cd .. && protoc --gogo_out=Mgoogle/protobuf/descriptor.proto=github.com/cosmos/gogoproto/protoc-gen-gogo/descriptor:../../../ --proto_path=../../../:./protobuf/:. gogoproto/*.proto

restore:
cp gogo.pb.golden gogo.pb.go
Expand Down
Loading

0 comments on commit 6b922a0

Please sign in to comment.