Skip to content

Conversation

@dannywillems
Copy link
Member

@dannywillems dannywillems commented Jul 16, 2025

We want to have a centralized reference for all the commands the CI runs, so the user can replicate exactly the CI behavior on their machine.

@dannywillems dannywillems marked this pull request as draft July 16, 2025 09:36
@dannywillems dannywillems changed the base branch from dw/claude-file to develop July 16, 2025 09:39
@dannywillems dannywillems marked this pull request as ready for review July 16, 2025 09:40
@dannywillems dannywillems requested a review from 0xMimir July 16, 2025 10:50
Copy link
Contributor

@0xMimir 0xMimir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but check comments

Comment on lines +8 to +13
build: ## Build the project in debug mode
cargo build

.PHONY: build-release
build-release: ## Build the project in release mode
cargo build --release --bin openmina
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a small nitpick here, but build builds the entire project, while build-release builds only openmina executable

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, lemme fix this.

Comment on lines +20 to +21
build-wasm: ## Build WebAssembly node
cd node/web && cargo +nightly build --release --target wasm32-unknown-unknown
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will build the openmina-node-web library but will not produce code needed to run the webnode for that following command should be used

wasm-pack build --target web --out-dir pkg

@dannywillems dannywillems merged commit cf7d0d3 into develop Jul 16, 2025
31 checks passed
@dannywillems dannywillems deleted the dw/add-makefile branch July 17, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants