diff options
| author | Nikolay Govorov <me@govorov.online> | 2026-01-16 23:59:31 +0000 |
|---|---|---|
| committer | Nikolay Govorov <me@govorov.online> | 2026-01-16 23:59:31 +0000 |
| commit | e4741e2c29b38cd428cf62f37d7a40985136b3a1 (patch) | |
| tree | c1faa4fbe3006382e799a76b811d2a9a40e3277c | |
| parent | 258c2212381cfa16b6216b09847aeab400a73b90 (diff) | |
| download | tar tar.gz tar.bz2 tar.lz tar.xz tar.zst zip | |
Add Makefile for common tasks
Diffstat
| -rw-r--r-- | .gitignore | 3 | +3 −0 |
| -rw-r--r-- | Makefile | 25 | +25 −0 |
| -rw-r--r-- | REUSE.toml | 1 | +0 −1 |
3 files changed, 28 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index da6e2cf..0575fa6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2026 Nikolay Govorov <me@govorov.online> +# SPDX-License-Identifier: AGPL-3.0-or-later + /target /dist /.zorian-state 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 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", |
