Skip to content

Commit

Permalink
rusk: adjust build commands
Browse files Browse the repository at this point in the history
- Add new rusk-archive & build-archive to build the archive
- Change previous commands to keep the same behavior as before without archive
  • Loading branch information
Neotamandua committed Nov 20, 2024
1 parent c1079b9 commit a371760
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,13 @@ run-dev-archive: ## Launch a local ephemeral archive node for development
echo "Failed to start the node. Make sure you have run 'make prepare-dev' before running this command"

rusk: keys state web-wallet ## Build rusk binary
@echo "Building rusk binary (without archive)"
$(MAKE) -C ./rusk build

rusk-archive: keys state web-wallet ## Build rusk binary with archive
@echo "Building rusk binary (with archive)"
$(MAKE) -C ./rusk build-archive

rusk-wallet: ## build the rusk wallet binary
$(MAKE) -C ./rusk-wallet build

Expand Down
5 changes: 4 additions & 1 deletion rusk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ doc: ## Run doc gen
@cargo doc --release

build: ## Build rusk binary
@cargo build --release
@cargo build --release --no-default-features --features default-without-archive

build-archive: ## Build rusk binary with archive
@cargo build --release --features default

build-bench: ## Build the benchmarks
@cargo bench --features testwallet --no-run
Expand Down

0 comments on commit a371760

Please sign in to comment.