mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(make): use the default rust dir for build/build-op (#8259)
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
7
Makefile
7
Makefile
@ -59,11 +59,11 @@ install-op: ## Build and install the op-reth binary under `~/.cargo/bin`.
|
|||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build: ## Build the reth binary into `target` directory.
|
build: ## Build the reth binary into `target` directory.
|
||||||
$(MAKE) build-native-$(shell rustc -Vv | grep host | cut -d ' ' -f2)
|
cargo build --bin reth --features "$(FEATURES)" --profile "$(PROFILE)"
|
||||||
|
|
||||||
.PHONY: build-op
|
.PHONY: build-op
|
||||||
build-op: ## Build the op-reth binary into `target` directory.
|
build-op: ## Build the op-reth binary into `target` directory.
|
||||||
$(MAKE) op-build-native-$(shell rustc -Vv | grep host | cut -d ' ' -f2)
|
cargo build --bin op-reth --features "optimism,$(FEATURES)" --profile "$(PROFILE)"
|
||||||
|
|
||||||
# Builds the reth binary natively.
|
# Builds the reth binary natively.
|
||||||
build-native-%:
|
build-native-%:
|
||||||
@ -303,8 +303,7 @@ db-tools: ## Compile MDBX debugging tools.
|
|||||||
@echo "Run \"$(DB_TOOLS_DIR)/mdbx_chk\" for the MDBX db file integrity check."
|
@echo "Run \"$(DB_TOOLS_DIR)/mdbx_chk\" for the MDBX db file integrity check."
|
||||||
|
|
||||||
.PHONY: update-book-cli
|
.PHONY: update-book-cli
|
||||||
update-book-cli: ## Update book cli documentation.
|
update-book-cli: build ## Update book cli documentation.
|
||||||
cargo build --bin reth --features "$(FEATURES)" --profile "$(PROFILE)"
|
|
||||||
@echo "Updating book cli doc..."
|
@echo "Updating book cli doc..."
|
||||||
@./book/cli/update.sh $(BUILD_PATH)/$(PROFILE)/reth
|
@./book/cli/update.sh $(BUILD_PATH)/$(PROFILE)/reth
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user