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 test-features recipe to justfile #276

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

JoseSK999
Copy link
Contributor

Created a .sh script using the cargo-hack tool in order to easily test all feature combinations. This is done in --release mode to reduce the size of the compiled artifacts.

The script is located in a new contrib directory (same approach followed by rust-bitcoin crates). This will be useful for CI as well.

@JoseSK999
Copy link
Contributor Author

Updated the shell script to accept an optional cargo argument, useful for selecting a verbosity (quiet or verbose).

Created a `.sh` script using the `cargo-hack` tool in order to easily test all feature combinations. This is done in `--release` mode to reduce the size of the compiled artifacts.

The script is located in a new `contrib` directory (same approach followed by `rust-bitcoin` crates). This will be useful for CI as well.
@JoseSK999
Copy link
Contributor Author

A final tiny change: better to handle the cargo-hack installation outside of the shell script.

@Davidson-Souza
Copy link
Collaborator

ACK 0f276c8. This will be a very useful too for reviewers!

@Davidson-Souza Davidson-Souza merged commit 3adc3f9 into vinteumorg:master Nov 18, 2024
6 checks passed
@JoseSK999 JoseSK999 deleted the test-features-recipe branch November 18, 2024 16:39
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