diff options
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", |
