Skip to content

Commit

Permalink
kbs: fix Makefile
Browse files Browse the repository at this point in the history
This commit disabled the checking of docs. Because for now we do not
have enough inline docs so that the lint checker will raise a lot of
error information.

Also, make the coverage of Makefile of kbs only kbs repo.

Signed-off-by: Xynnn007 <[email protected]>
  • Loading branch information
Xynnn007 committed Nov 10, 2023
1 parent 385b38b commit 5a832c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kbs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ uninstall:
rm -rf $(INSTALL_DESTDIR)/kbs $(INSTALL_DESTDIR)/kbs-client $(INSTALL_DESTDIR)/issuer-kbs $(INSTALL_DESTDIR)/resource-kbs

check:
cargo test --lib
cargo test -p kbs -p api-server -p kbs-client

lint:
cargo clippy -- -D warnings -Wmissing-docs -A clippy::enum_variant_names
cargo clippy -p kbs -p api-server -p kbs-client -- -D warnings -A clippy::enum_variant_names

format:
cargo fmt -- --check --config format_code_in_doc_comments=true
cargo fmt -p kbs -p api-server -p kbs-client -- --check --config format_code_in_doc_comments=true

clean:
cargo clean
Expand Down

0 comments on commit 5a832c9

Please sign in to comment.