Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit ff11977

Browse files
committed
Add previously removed 'cargo run' task
1 parent 8269566 commit ff11977

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/tasks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ function detectCargoTasks(target: WorkspaceFolder): Task[] {
7373
{ subcommand: 'check', group: TaskGroup.Build },
7474
{ subcommand: 'test', group: TaskGroup.Test },
7575
{ subcommand: 'clean', group: TaskGroup.Clean },
76+
{ subcommand: 'run', group: undefined },
7677
]
7778
.map(({ subcommand, group }) => ({
7879
definition: { subcommand, type: TASK_TYPE },

src/test/extension.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ suite('Extension Tests', () => {
2121
{ subcommand: 'check', group: vscode.TaskGroup.Build },
2222
{ subcommand: 'test', group: vscode.TaskGroup.Test },
2323
{ subcommand: 'clean', group: vscode.TaskGroup.Clean },
24+
{ subcommand: 'run', group: undefined },
2425
];
2526

2627
const tasks = await vscode.tasks.fetchTasks();

0 commit comments

Comments
 (0)