Skip to content

Commit 69065e1

Browse files
committed
Pass -cargs:ada -gnatef to alr build
Fixes #1370
1 parent 1b943ec commit 69065e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

integration/vscode/ada/src/taskProviders.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,9 +1049,8 @@ function updateToAlire(taskDef: SimpleTaskDef): SimpleTaskDef {
10491049
* Replace the entire command with `alr build`. Ignore project and
10501050
* scenario args because they are managed by ALIRE.
10511051
*
1052-
* TODO what about -cargs:ada -gnatef ?
10531052
*/
1054-
args.splice(0, args.length, 'build');
1053+
args.splice(0, args.length, 'build', '--', '-cargs:ada', '-gnatef');
10551054
} else if (taskDef == TASK_CLEAN_PROJECT.taskDef) {
10561055
/**
10571056
* Replace the entire command with `alr clean`. Ignore project and

0 commit comments

Comments
 (0)