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

Fix/init template base contract Cargo.toml #1235

Merged

Conversation

elizabethengelman
Copy link
Contributor

@elizabethengelman elizabethengelman commented Mar 4, 2024

What

We learned in #1206 we can't have a Cargo.toml file in the init template directory, because cargo will not include any subdirectory in the package, if it has a Cargo.toml file. So like we did for the base project template in #1206, we are naming the hello_world contract's Cargo.toml as Cargo.toml.removeextension to get around this. I missed this change in #1260, so this PR fixes that.

@ElliotFriend mentioned he noticed this in the doc updates PR here: stellar-deprecated/soroban-docs#730

Close #1262

@elizabethengelman elizabethengelman changed the title Fix/init base contract Cargo.toml Fix/init template base contract Cargo.toml Mar 5, 2024
@elizabethengelman elizabethengelman merged commit 187e98c into stellar:main Mar 5, 2024
13 checks passed
@elizabethengelman elizabethengelman deleted the fix/init-base-contract-inclusion branch March 5, 2024 16:20
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.

soroban-cli + contract init command
2 participants