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: Scarb.toml readme & license file not resolved #25

Merged

Conversation

cwkang1998
Copy link
Contributor

When the contract is being reoslved and a readme or license file is specified in Scarb.toml, the contract resolving logic does not move the readme & licnese file, causing a compilation error during scarb build.

This PR fixes that by extracing information of these file from Scarb.toml and also including them as file being moved to the extracted sub-folder so builds won't fail due to it being missing.

Closes #22.

When the contract is being reoslved and a readme or license file is
specified in `Scarb.toml`, the contract resolving logic does not move
the readme & licnese file, causing a compilation error during `scarb
build`.

This PR fixes that by extracing information of these file from
`Scarb.toml` and also including them as file being moved to the
extracted sub-folder so builds won't fail due to it being missing.

Closes #22.
@cwkang1998 cwkang1998 requested a review from julio4 May 30, 2024 20:56
@cwkang1998 cwkang1998 merged commit 494e310 into main May 31, 2024
3 checks passed
@cwkang1998 cwkang1998 deleted the fix/readme_and_license_file_not_moved_to_extracted_folder branch May 31, 2024 12:08
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.

Fails to find license file
2 participants