Fix Makefile fix command to run formatter after fixing
This commit is contained in:
parent
c810310fc2
commit
14d6f6f7f9
3
Makefile
3
Makefile
@ -19,8 +19,9 @@ lint: $(call print-help, lint, Check code syntax and style)
|
|||||||
fmt: $(call print-help, fmt, Runs formatter on code)
|
fmt: $(call print-help, fmt, Runs formatter on code)
|
||||||
cargo +nightly fmt
|
cargo +nightly fmt
|
||||||
|
|
||||||
fix: fmt
|
fix: $(call print-help, fix, Fixes some warnings, then runs the formatter)
|
||||||
cargo fix --allow-dirty --allow-staged
|
cargo fix --allow-dirty --allow-staged
|
||||||
|
cargo +nightly fmt
|
||||||
|
|
||||||
docs: $(call print-help, docs, Generates code docs)
|
docs: $(call print-help, docs, Generates code docs)
|
||||||
cargo doc
|
cargo doc
|
||||||
|
Loading…
Reference in New Issue
Block a user