From c7e9fb9dac3c0a2b4a0c6c2d5d34a12175aac096 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 23 Mar 2026 20:52:55 +0100 Subject: Adapt arch build to use meson --- justfile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'justfile') diff --git a/justfile b/justfile index 37ddc01..4313969 100644 --- a/justfile +++ b/justfile @@ -3,11 +3,25 @@ build: meson setup _build meson compile -C _build +# Code Quality ################################################################# + +test: + cargo test + +coverage: + cargo tarpaulin + +format: + cargo fmt && cargo clippy --fix + +lint: + cargo fmt -- --check && cargo clippy + # Internationalization / Localization ########################################## # Finds all files that can be translated and adds them to the POTFILES find_translatable_files: - find ./ -not -path '*/.*' -type f -name "*.rs" -exec grep -l "tr!(\"\|gettext" {} \; | sed 's|^\./||' | sort > po/POTFILES + find ./src -not -path '*/.*' -type f -name "*.rs" -exec grep -l "tr!(\"\|gettext" {} \; | sed 's|^\./||' | sort > po/POTFILES find ./data -not -path '*/.*' -name "*.in.in" -type f | sed 's|^\./||' | sort >> po/POTFILES extract_strings: find_translatable_files -- cgit