1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# lexis' Makefile # Copyright (c) 2024 Ali Polatel <alip@chesswob.org> # SPDX-License-Identifier: GPL-3.0-or-later CARGO= cargo # Cargo features and flags CARGOFLAGS= -j$(shell nproc) -v all: build build: $(CARGO) deny check $(CARGO) clippy $(CARGOFLAGS) $(CARGO) build --locked $(CARGOFLAGS) $(CARGO) test fmt: $(CARGO) fmt lint: $(CARGO) clippy $(CARGOFLAGS) .PHONY: all build fmt lint