Skip to content

Commit 43f9aed

Browse files
committed
Makefile: add target to build and run tests from pkg mina-node-native
1 parent d4c0703 commit 43f9aed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ build: ## Build the project in debug mode
6767
build-ledger: download-circuits ## Build the ledger binary and library, requires nightly Rust
6868
@cd ledger && cargo +$(NIGHTLY_RUST_VERSION) build --release --tests
6969

70+
build-node-native: ## Build the package mina-node-native with all features and tests
71+
@cargo build -p mina-node-native --all-features --release --tests
72+
7073
.PHONY: build-release
7174
build-release: ## Build the project in release mode
7275
@cargo build --release --package=cli --bin mina
@@ -322,6 +325,10 @@ test-wallet: ## Run wallet CLI end-to-end tests
322325
test-p2p-messages:
323326
cargo test -p mina-p2p-messages --tests --release
324327

328+
.PHONY: test-node-native
329+
test-node-native: build-node-native ## Run the unit/integration tests of the package mina-node-native
330+
cargo test -p mina-node-native --all-features --release --tests
331+
325332
.PHONY: nextest
326333
nextest: ## Run tests with cargo-nextest for faster execution
327334
@cargo nextest run

0 commit comments

Comments
 (0)