mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-02-04 11:01:18 +01:00
Rewrite of license-header.sh. Lots of new goodies: - Fully POSIX compliant - supports dash arguments (-u/--update, -c/--commit, -uc for both) - can update year or malformed headers in-place now - accounts for shell scripts - exclusion of external files (e.g. sse2neon, my CMake modules/scripts) - better, more extensible logic all around Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2780
Tools
Tools for Eden and other subprojects.
Third-Party
Eden
find-unused-strings.pl: Find unused strings (for Android XML files).shellcheck.sh: Ensure POSIX compliance (and syntax sanity) for all tools in this directory and subdirectories.llvmpipe-run.sh: Sets environment variables needed to run any command (or Eden) with llvmpipe.optimize-assets.sh: Optimize PNG assets with OptiPng.update-cpm.sh: Updates CPM.cmake to the latest version.update-icons.sh: Rebuild all icons (macOS, Windows, bitmaps) based on the master SVG file (dist/dev.eden_emu.eden.svg)- Also optimizes the master SVG
- Requires:
png2icns(libicns), ImageMagick,svgo
dtrace-tool.shlanczos_gen.cclang-format.sh: Runsclang-formaton the entire codebase.- Requires: clang
Android
It's recommended to run these scritps after almost any Android change, as they are relatively fast and important both for APK bloat and CI.
unused-strings.sh: Finds unused strings instrings.xmlfiles.stale-translations.sh: Finds translated strings that aren't present in the sourcestrings.xmlfile.