Skip to content

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

Merged
mosteo merged 6 commits intonextfrom
feat/pass_build_args
Sep 16, 2021
Merged

Alr.Commands.Build: forward subcommand args to gprbuild#850
mosteo merged 6 commits intonextfrom
feat/pass_build_args

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