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

contract build: fix when used in workspace with default members #1457

Merged
merged 40 commits into from
Jul 16, 2024

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Jul 15, 2024

What

Change contract build behavior when executed in a workspace with default members configured. Make it build only the default members instead of the entire workspace.

Why

The current behavior is to build the entire workspace.

The behavior of cargo build is to build only the default members.

This command is designed to immitate cargo build, and differences in behavior are surprising and unexpected.

This change is a breaking change, but it is fixing a bug.

Close #1455

Merging

Intended to be merged to main after #1453.

@leighmcculloch leighmcculloch changed the title Fix contract build inside workspace with default members contract build: fix when used in workspace with default members Jul 15, 2024
Base automatically changed from i1452 to main July 16, 2024 02:16
@leighmcculloch leighmcculloch marked this pull request as ready for review July 16, 2024 02:23
@leighmcculloch leighmcculloch requested a review from a team as a code owner July 16, 2024 02:23
@leighmcculloch leighmcculloch enabled auto-merge (squash) July 16, 2024 02:23
@leighmcculloch leighmcculloch merged commit 7ba2513 into main Jul 16, 2024
24 of 25 checks passed
@leighmcculloch leighmcculloch deleted the i1455 branch July 16, 2024 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants