make: Fix parallel gen

This commit is contained in:
Łukasz Magiera 2021-03-25 15:19:22 +01:00
parent c25190bd8c
commit 736c69784a
5 changed files with 5 additions and 4 deletions

View File

@ -408,6 +408,7 @@ jobs:
steps:
- install-deps
- prepare
- run: go install golang.org/x/tools/cmd/goimports
- run: zcat build/openrpc/full.json.gz | jq > ../pre-openrpc-full
- run: zcat build/openrpc/miner.json.gz | jq > ../pre-openrpc-miner
- run: zcat build/openrpc/worker.json.gz | jq > ../pre-openrpc-worker

View File

@ -318,12 +318,12 @@ dist-clean:
git submodule deinit --all -f
.PHONY: dist-clean
type-gen:
type-gen: api-gen
go run ./gen/main.go
go generate -x ./...
goimports -w api/
method-gen:
method-gen: api-gen
(cd ./lotuspond/front/src/chain && go run ./methodgen.go)
api-gen:
@ -334,9 +334,9 @@ api-gen:
docsgen: docsgen-md docsgen-openrpc
docsgen-md-bin:
docsgen-md-bin: api-gen
go build $(GOFLAGS) -o docgen-md ./api/docgen/cmd
docsgen-openrpc-bin:
docsgen-openrpc-bin: api-gen
go build $(GOFLAGS) -o docgen-openrpc ./api/docgen-openrpc/cmd
docsgen-md: docsgen-md-full docsgen-md-storage docsgen-md-worker

Binary file not shown.

Binary file not shown.

Binary file not shown.