aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25+25 −0
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+# SPDX-FileCopyrightText: 2026 Nikolay Govorov <me@govorov.online>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+all: fmt clippy test deps licenses
+
+.PHONY: licenses
+licenses:
+ reuse lint
+
+.PHONY: fmt
+fmt:
+ cargo fmt --all --check
+
+.PHONY: deps
+deps:
+ cargo deny check
+
+.PHONY: clippy
+clippy:
+ cargo clippy --all-targets --all-features -- -D warnings
+
+.PHONY: test
+test:
+ cargo build --release
+ cargo test --all-features --release --locked