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

Commit 5afe3bb

Browse files
authored
Merge pull request #242 from radix/patch-1
add a `cargo check` task
2 parents faa0343 + 4ba65e0 commit 5afe3bb

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/tasks.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,19 @@ function createTaskConfigItem(): Array<TaskConfigItem> {
128128
group: TaskGroup.Build,
129129
presentationOptions,
130130
},
131+
{
132+
definition: {
133+
taskName: 'cargo check',
134+
type: 'shell',
135+
command: 'cargo',
136+
args: [
137+
'check'
138+
],
139+
},
140+
problemMatcher,
141+
group: TaskGroup.Build,
142+
presentationOptions,
143+
},
131144
{
132145
definition: {
133146
taskName: 'cargo run',
@@ -168,4 +181,4 @@ function createTaskConfigItem(): Array<TaskConfigItem> {
168181
];
169182

170183
return taskList;
171-
}
184+
}

0 commit comments

Comments
 (0)