Skip to content

Use last build profile on alr run#1080

Merged
mosteo merged 2 commits into
alire-project:masterfrom
mosteo:feat/build-last-profile
Jul 27, 2022
Merged

Use last build profile on alr run#1080
mosteo merged 2 commits into
alire-project:masterfrom
mosteo:feat/build-last-profile

Conversation

@mosteo

@mosteo mosteo commented Jul 5, 2022

Copy link
Copy Markdown
Member

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

mosteo commented Jul 26, 2022

Copy link
Copy Markdown
Member Author

@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