prepare-source: Move go fmt to last step
When rebasing, the generated code ends up with conflict markers in it and go fmt quits with an error. This change regenerates the code first so that fmt is happy with it.
This commit is contained in:
parent
1af3bd6e34
commit
8cfba81b2c
1 changed files with 3 additions and 3 deletions
|
|
@ -14,8 +14,8 @@ $GO_BINARY download
|
||||||
$GO_BINARY mod tidy
|
$GO_BINARY mod tidy
|
||||||
$GO_BINARY mod vendor
|
$GO_BINARY mod vendor
|
||||||
|
|
||||||
# ... the code is formatted correctly, ...
|
|
||||||
$GO_BINARY fmt ./...
|
|
||||||
|
|
||||||
# ... and all code has been regenerated from its sources.
|
# ... and all code has been regenerated from its sources.
|
||||||
$GO_BINARY generate ./...
|
$GO_BINARY generate ./...
|
||||||
|
|
||||||
|
# ... the code is formatted correctly, ...
|
||||||
|
$GO_BINARY fmt ./...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue