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
|
||||
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
|
||||
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.
|
||||
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."
|
||||
|
||||
.PHONY: update-book-cli
|
||||
update-book-cli: ## Update book cli documentation.
|
||||
cargo build --bin reth --features "$(FEATURES)" --profile "$(PROFILE)"
|
||||
update-book-cli: build ## Update book cli documentation.
|
||||
@echo "Updating book cli doc..."
|
||||
@./book/cli/update.sh $(BUILD_PATH)/$(PROFILE)/reth
|
||||
|
||||
|
||||
Reference in New Issue
Block a user