Skip to content

Commit

Permalink
build: add easyjson-gen to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangyeop.lee committed May 26, 2021
1 parent 6bec2f2 commit f4e0823
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,15 @@ devdoc-update:

.PHONY: devdoc devdoc-clean devdoc-init devdoc-save devdoc-update

###############################################################################
### easyjson ###
###############################################################################
# easyjson must be used for types that are not registered in amino by RegisterConcrete.
easyjson-gen:
@echo "Generating easyjson files"
go get github.com/mailru/[email protected]
easyjson ./types/result.go

###############################################################################
### Protobuf ###
###############################################################################
Expand Down

0 comments on commit f4e0823

Please sign in to comment.