Skip to content

Commit f3549ec

Browse files
pb8owearyzen
authored andcommitted
devtool: add a checkstyle command
This is convenient to add all the style checks locally Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 55c3a45 commit f3549ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tools/devtool

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,9 @@ cmd_help() {
422422
423423
mkdocs
424424
Use 'cargo doc' to generate rustdoc documentation
425+
426+
checkstyle
427+
Run style checks
425428
EOF
426429
}
427430

@@ -862,6 +865,10 @@ cmd_mkdocs() {
862865
cmd_sh "cargo doc --workspace --no-deps --document-private-items"
863866
}
864867

868+
cmd_checkstyle() {
869+
cmd_test -- integration_tests/style -n 4 --dist worksteal
870+
}
871+
865872
# Check if able to run firecracker.
866873
# ../docs/getting-started.md#prerequisites
867874
ensure_kvm_rw () {

0 commit comments

Comments
 (0)