Skip to content

Commit

Permalink
Add linting check in make command #102
Browse files Browse the repository at this point in the history
  • Loading branch information
jpraynaud committed Apr 19, 2022
1 parent 2580629 commit faa9300
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mithril-network/mithril-client/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%:
@:

.PHONY: all build test debug run clean help doc
.PHONY: all build test check debug run clean help doc

args = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}`

Expand All @@ -22,6 +22,10 @@ debug:
test:
${CARGO} test

check:
${CARGO} check
${CARGO} clippy

clean:
${CARGO} clean

Expand Down
1 change: 1 addition & 0 deletions mithril-network/mithril-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
**Install Rust**

- Install a [correctly configured](https://www.rust-lang.org/learn/get-started) Rust toolchain (version 1.58.0+).
- Instal Rust [Clippy](https://github.com/rust-lang/rust-clippy) component.


## Download source code:
Expand Down

0 comments on commit faa9300

Please sign in to comment.