From e4741e2c29b38cd428cf62f37d7a40985136b3a1 Mon Sep 17 00:00:00 2001 From: Nikolay Govorov Date: Fri, 16 Jan 2026 23:59:31 +0000 Subject: Add Makefile for common tasks --- .gitignore | 3 +++ Makefile | 25 +++++++++++++++++++++++++ REUSE.toml | 1 - 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index da6e2cf..0575fa6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2026 Nikolay Govorov +# SPDX-License-Identifier: AGPL-3.0-or-later + /target /dist /.zorian-state diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5c335cf --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +# SPDX-FileCopyrightText: 2026 Nikolay Govorov +# 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 diff --git a/REUSE.toml b/REUSE.toml index 67c7f24..dc89013 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -2,7 +2,6 @@ version = 1 [[annotations]] path = [ - ".gitignore", "CLA.md", "README.md", "Cargo.toml", -- Gilti