1
0
Fork 0

Fix Makefile fix command to run formatter after fixing

This commit is contained in:
Timothy Warren 2022-02-02 09:45:47 -05:00
parent c810310fc2
commit 14d6f6f7f9
1 changed files with 2 additions and 1 deletions

View File

@ -19,8 +19,9 @@ lint: $(call print-help, lint, Check code syntax and style)
fmt: $(call print-help, fmt, Runs formatter on code)
cargo +nightly fmt
fix: fmt
fix: $(call print-help, fix, Fixes some warnings, then runs the formatter)
cargo fix --allow-dirty --allow-staged
cargo +nightly fmt
docs: $(call print-help, docs, Generates code docs)
cargo doc