PRJ := $(notdir $(PWD))
-.PHONY: release test install
+.PHONY: release install uninstall test reuse clean
# Build
# Test
-test:
+test: reuse
cargo build
cargo check
+ cargo doc
+
+reuse:
+ ! which reuse > /dev/null || reuse lint | grep Congrat || reuse lint
# Clean
clean:
rm -fr target
+ find * -name \*~ -delete
-<!-- Copyright (C) 2023 Gustav Eek <gustav.eek@fripost.org>
-SPDX-License-Identifier: GPL-3.0-or-later -->
-
*ranknauto* -- Rank N' Auto, automatic normalized ranking
Quantify a ranked ordered from statistical distributions.
submitted for inclusion is released under the GNU GPL v3 or later,
without any additional terms or conditions.
+<!-- Copyright (C) 2023 Gustav Eek <gustav.eek@fripost.org>
+SPDX-License-Identifier: GPL-3.0-or-later -->