Skip to content

Commit a1e7d68

Browse files
authored
chore: add faster fix format task (envoyproxy#38364)
Signed-off-by: zirain <[email protected]>
1 parent c32e210 commit a1e7d68

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.vscode/tasks.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,16 @@
3434
"problemMatcher": []
3535
},
3636
{
37-
"label": "Local Fix Format",
37+
"label": "Local Fix Format (All)",
3838
"type": "shell",
3939
"command": "tools/local_fix_format.sh -all",
4040
"problemMatcher": []
41+
},
42+
{
43+
"label": "Local Fix Format (Changes Only)",
44+
"type": "shell",
45+
"command": "tools/local_fix_format.sh $(git diff --name-only | grep -E '.(h|c|cc|proto)$')",
46+
"problemMatcher": []
4147
}
4248
]
4349
}

0 commit comments

Comments
 (0)