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