Commit 6a2f382197

6a2f382197b35a4f39157bb57510284afac636be

parent: dcfa865c26

Unsigned

Darafei Praliaskouski <me@komzpa.net> · 2026-07-08 10:36 UTC
committer: <strk@kbt.io>

build: add make check target

Layout: unified · split

Makefile +4 −1
@@ -12,7 +12,7 @@ SOURCES := $(wildcard src/*.rs src/bar_items/*.rs src/commands/*.rs src/room/*.r
1212
1313PROFILE ?= release
1414
15.PHONY: install install-user uninstall uninstall-user install-dir install-user-dir lint all help deb
15.PHONY: install install-user uninstall uninstall-user install-dir install-user-dir lint check all help deb
1616
1717all: help
1818
@@ -46,6 +46,9 @@ install-user-dir:
4646lint: ## Lint issues with clippy
4747 cargo clippy
4848
49check: ## Run test suite
50 cargo test --release
51
4952# Get the base package version from Cargo.toml (fallback when no git tags are found)
5053CARGO_VERSION := $(shell grep -m1 '^version = ' Cargo.toml | sed 's/version = "\(.*\)"/\1/')
5154