Skip to content

Use last build profile on alr run #1080

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

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Jul 5, 2022

Instead of always defaulting to development.

I wonder if alr build without an explicit profile should also default to the last explicit profile.

Edit: this PR includes a bit of refactoring to get rid of a global variable (Alire.Crate_Configuration.Root_Build_Profile) that was making the logic start to get convoluted with the recent changes.

@mosteo mosteo marked this pull request as ready for review July 6, 2022 07:43
@mosteo mosteo requested a review from Fabien-Chouteau July 6, 2022 07:43
@mosteo mosteo force-pushed the feat/build-last-profile branch from d6aa1ac to 243bbcf Compare July 20, 2022 11:02
@mosteo
Copy link
Member Author

mosteo commented Jul 26, 2022

@Fabien-Chouteau this one fell through the cracks?

@mosteo mosteo merged commit 96f4a7b into alire-project:master Jul 27, 2022
@mosteo mosteo deleted the feat/build-last-profile branch July 27, 2022 09:10
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