Merge pull request #9114 from filecoin-project/asr/makefile-fiximports

feat: build: run fiximports on make actors-gen
This commit is contained in:
Aayush Rajasekaran 2022-08-02 18:11:37 -04:00 committed by GitHub
commit aff1077b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 2 deletions

View File

@ -302,11 +302,14 @@ type-gen: api-gen
method-gen: api-gen method-gen: api-gen
(cd ./lotuspond/front/src/chain && $(GOCC) run ./methodgen.go) (cd ./lotuspond/front/src/chain && $(GOCC) run ./methodgen.go)
actors-gen: actors-code-gen:
$(GOCC) run ./gen/inline-gen . gen/inlinegen-data.json $(GOCC) run ./gen/inline-gen . gen/inlinegen-data.json
$(GOCC) run ./chain/actors/agen $(GOCC) run ./chain/actors/agen
$(GOCC) fmt ./... $(GOCC) fmt ./...
actors-gen: actors-code-gen fiximports
.PHONY: actors-gen
bundle-gen: bundle-gen:
$(GOCC) run ./gen/bundle $(GOCC) run ./gen/bundle
$(GOCC) fmt ./build/... $(GOCC) fmt ./build/...
@ -364,7 +367,7 @@ docsgen-openrpc-gateway: docsgen-openrpc-bin
fiximports: fiximports:
./scripts/fiximports ./scripts/fiximports
gen: actors-gen type-gen method-gen cfgdoc-gen docsgen api-gen circleci bundle-gen fiximports gen: actors-code-gen type-gen method-gen cfgdoc-gen docsgen api-gen circleci bundle-gen fiximports
@echo ">>> IF YOU'VE MODIFIED THE CLI OR CONFIG, REMEMBER TO ALSO MAKE docsgen-cli" @echo ">>> IF YOU'VE MODIFIED THE CLI OR CONFIG, REMEMBER TO ALSO MAKE docsgen-cli"
.PHONY: gen .PHONY: gen

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.