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

Alr.Commands.Build: forward subcommand args to gprbuild #850

Merged
merged 6 commits into from
Sep 16, 2021

Conversation

Fabien-Chouteau
Copy link
Member

No description provided.

This will allow for instance:
$ alr build -f               # force build
$ alr build -cargs -g        # compile with an extra switch
$ alr build -f -u atomic.adb # only compile atomic.adb

This is exposing more of the gprbuild interface in an Alire workflow.
But I see this as a convenient development trick, and the standard "alr
build" command without extra args should always be enough to build a
crate.

#698
The variable Alr.commands.Scenario was hidden by
Alr.Commands.Clean.Scenario.
@mosteo mosteo merged commit 3e2416a into next Sep 16, 2021
@mosteo mosteo deleted the feat/pass_build_args branch September 16, 2021 11:23
mosteo pushed a commit that referenced this pull request Sep 29, 2021
Global switches must come before command. (#850) (369c7ec).
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