Skip to content

Commit 7377ba7

Browse files
committed
Add unit-test target to Makefile
...and make a dependency of the lint target.
1 parent 81b30b6 commit 7377ba7

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Makefile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,21 @@ install-html:
4040
.PHONY: install install-all install-bin install-completion install-man install-html
4141

4242

43-
lint: lint-format lint-clippy lint-t
43+
lint: lint-format lint-clippy lint-t unit-test
4444

4545
lint-format:
46-
$(CARGO) fmt --all --check
46+
$(CARGO) --quiet fmt --all --check
4747

4848
lint-clippy:
49-
$(CARGO) clippy -- --deny warnings
49+
$(CARGO) --quiet clippy -- --deny warnings
5050

5151
lint-t:
5252
$(MAKE) -C t test-lint
5353

54-
.PHONY: lint lint-format lint-clippy lint-t
54+
unit-test:
55+
$(CARGO) --quiet test
56+
57+
.PHONY: lint lint-format lint-clippy lint-t unit-test
5558

5659

5760
format:

0 commit comments

Comments
 (0)