Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add central Makefile which builds/tests everything #458

Merged
merged 3 commits into from
Jul 19, 2024

Conversation

jtraglia
Copy link
Member

While working on EIP-7594 support, it was pretty annoying building/testing each of the bindings individually. I would have to cd bindings/ && && cd ../bindings/ a bunch of times. This PR adds a Makefile to the repository root which will build and test everything.

.PHONY: rust
rust:
@cargo test --features generate-bindings
@cargo bench --no-run
Copy link
Contributor

Choose a reason for hiding this comment

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

I was not expecting to see the benches getting run. I thought this would just build and run tests.
No strong opinion.
(PR LGTM other than this)

Copy link
Member Author

Choose a reason for hiding this comment

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

This doesn't run the benchmarks, just builds them; see the --no-run flag.

But this did remind me to disable benchmarks for Java bindings. Thanks!

Copy link
Contributor

@asn-d6 asn-d6 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@jtraglia jtraglia merged commit 141e638 into ethereum:main Jul 19, 2024
38 checks passed
@jtraglia jtraglia deleted the central-makefile branch July 19, 2024 17:23
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.

2 participants