Skip to content

Commit

Permalink
clam-format script: also format Rust source
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa authored and micahsnyder committed Apr 15, 2024
1 parent 075e1a4 commit a0f4dc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clam-format
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ clang-format-16 -i -verbose unit_tests/*.h
clang-format-16 -i -verbose win32/compat/*.c
clang-format-16 -i -verbose win32/compat/*.h

rustfmt `find . -name "*.rs"`

# Undo changes to specific files that we don't really want to reformat
git checkout libclamav/iana_cctld.h
git checkout libclamav/bytecode_api_decl.c
Expand Down

0 comments on commit a0f4dc7

Please sign in to comment.