fix makefile deps on submodules (#3383)

This commit is contained in:
Alex Sharov 2022-01-31 12:43:48 +07:00 committed by GitHub
parent 94930c5fe0
commit afbf083242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,45 +48,45 @@ erigon: go-version git-submodules
$(GOBUILD) -o $(GOBIN)/erigon ./cmd/erigon $(GOBUILD) -o $(GOBIN)/erigon ./cmd/erigon
@echo "Run \"$(GOBIN)/erigon\" to launch Erigon." @echo "Run \"$(GOBIN)/erigon\" to launch Erigon."
hack: hack: git-submodules
$(GOBUILD) -o $(GOBIN)/hack ./cmd/hack $(GOBUILD) -o $(GOBIN)/hack ./cmd/hack
@echo "Run \"$(GOBIN)/hack\" to launch hack." @echo "Run \"$(GOBIN)/hack\" to launch hack."
rpctest: rpctest: git-submodules
$(GOBUILD) -o $(GOBIN)/rpctest ./cmd/rpctest $(GOBUILD) -o $(GOBIN)/rpctest ./cmd/rpctest
@echo "Run \"$(GOBIN)/rpctest\" to launch rpctest." @echo "Run \"$(GOBIN)/rpctest\" to launch rpctest."
state: state: git-submodules
$(GOBUILD) -o $(GOBIN)/state ./cmd/state $(GOBUILD) -o $(GOBIN)/state ./cmd/state
@echo "Run \"$(GOBIN)/state\" to launch state." @echo "Run \"$(GOBIN)/state\" to launch state."
pics: pics: git-submodules
$(GOBUILD) -o $(GOBIN)/pics ./cmd/pics $(GOBUILD) -o $(GOBIN)/pics ./cmd/pics
@echo "Run \"$(GOBIN)/pics\" to launch pics." @echo "Run \"$(GOBIN)/pics\" to launch pics."
rpcdaemon: rpcdaemon: git-submodules
$(GOBUILD) -o $(GOBIN)/rpcdaemon ./cmd/rpcdaemon $(GOBUILD) -o $(GOBIN)/rpcdaemon ./cmd/rpcdaemon
@echo "Run \"$(GOBIN)/rpcdaemon\" to launch rpcdaemon." @echo "Run \"$(GOBIN)/rpcdaemon\" to launch rpcdaemon."
txpool: txpool: git-submodules
$(GOBUILD) -o $(GOBIN)/txpool ./cmd/txpool $(GOBUILD) -o $(GOBIN)/txpool ./cmd/txpool
@echo "Run \"$(GOBIN)/txpool\" to launch txpool." @echo "Run \"$(GOBIN)/txpool\" to launch txpool."
integration: integration: git-submodules
$(GOBUILD) -o $(GOBIN)/integration ./cmd/integration $(GOBUILD) -o $(GOBIN)/integration ./cmd/integration
@echo "Run \"$(GOBIN)/integration\" to launch integration tests." @echo "Run \"$(GOBIN)/integration\" to launch integration tests."
sentry: sentry: git-submodules
$(GOBUILD) -o $(GOBIN)/sentry ./cmd/sentry $(GOBUILD) -o $(GOBIN)/sentry ./cmd/sentry
rm -f $(GOBIN)/headers # Remove old binary to prevent confusion where users still use it because of the scripts rm -f $(GOBIN)/headers # Remove old binary to prevent confusion where users still use it because of the scripts
@echo "Run \"$(GOBIN)/sentry\" to run sentry" @echo "Run \"$(GOBIN)/sentry\" to run sentry"
cons: cons: git-submodules
$(GOBUILD) -o $(GOBIN)/cons ./cmd/cons $(GOBUILD) -o $(GOBIN)/cons ./cmd/cons
@echo "Run \"$(GOBIN)/cons\" to run consensus engine PoC." @echo "Run \"$(GOBIN)/cons\" to run consensus engine PoC."
evm: evm: git-submodules
$(GOBUILD) -o $(GOBIN)/evm ./cmd/evm $(GOBUILD) -o $(GOBIN)/evm ./cmd/evm
@echo "Run \"$(GOBIN)/evm\" to run EVM" @echo "Run \"$(GOBIN)/evm\" to run EVM"
@ -94,7 +94,7 @@ downloader: git-submodules
$(GOBUILD) -o $(GOBIN)/downloader ./cmd/downloader $(GOBUILD) -o $(GOBIN)/downloader ./cmd/downloader
@echo "Run \"$(GOBIN)/downloader\" to download and seed snapshots." @echo "Run \"$(GOBIN)/downloader\" to download and seed snapshots."
devnettest: devnettest: git-submodules
$(GOBUILD) -o $(GOBIN)/devnettest ./cmd/devnettest $(GOBUILD) -o $(GOBIN)/devnettest ./cmd/devnettest
@echo "Run \"$(GOBIN)/devnettest\" to launch devnettest." @echo "Run \"$(GOBIN)/devnettest\" to launch devnettest."