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

feat(cli): only template contracts when --evm is used #1004

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Conversation

mattstam
Copy link
Contributor

@mattstam mattstam commented Jul 1, 2024

cargo prove new <name> only has the program and scripts, while cargo prove new <name> --evm has the program, scripts, and contracts.

// Check if the user has `foundry` installed.
if Command::new("foundry").arg("--version").output().is_err() {
println!(
" \x1b[1m{}\x1b[0m Make sure to install Foundry to use contracts: https://book.getfoundry.sh/getting-started/installation",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

removing period because this directs to https://book.getfoundry.sh/getting-started/installation. which fails

@mattstam mattstam marked this pull request as ready for review July 1, 2024 22:55
@mattstam mattstam changed the title feat: only template contracts when --evm is used feat(cli): only template contracts when --evm is used Jul 2, 2024
@mattstam mattstam merged commit 465dc58 into dev Jul 2, 2024
6 of 7 checks passed
@mattstam mattstam deleted the mattstam/evm branch July 2, 2024 18:44
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