Skip to content

Commit

Permalink
mobile: run goimports on generated files
Browse files Browse the repository at this point in the history
Subservers might depend on each other (notably walletrpc depends on
signrpc) so running goimports ensures they properly import each other.
  • Loading branch information
halseth committed Nov 26, 2019
1 parent cb2b8b4 commit e8e5fd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mobile/gen_bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ do
--proto_path=${DIRECTORY} \
${file}
done

# Run goimports to resolve any dependencies among the sub-servers.
goimports -w ./*_generated.go

0 comments on commit e8e5fd7

Please sign in to comment.