diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-03-23 20:52:55 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-04-05 00:31:21 +0200 |
| commit | c7e9fb9dac3c0a2b4a0c6c2d5d34a12175aac096 (patch) | |
| tree | d9cafdea3432d7b5a13d3a47bfbe0808c554abb0 /justfile | |
| parent | 99fd689d01adeaa6847901c35172b533119fccda (diff) | |
Adapt arch build to use meson
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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 |