mirror of
https://github.com/home-assistant/iOS.git
synced 2026-02-15 07:49:30 -06:00
Tools Directory
This directory contains scripts and tools used for development and maintenance of the Home Assistant iOS app.
Python Scripts
detect_unused_strings.py
Detects unused localization strings in the codebase.
Usage:
python3 Tools/detect_unused_strings.py
What it does:
- Parses
Sources/Shared/Resources/Swiftgen/Strings.swiftto extract all L10n properties and their corresponding Localizable keys - Checks for usage of L10n properties in Swift source code
- Double-checks for direct usage of Localizable keys in the codebase
- Reports unused strings that can be safely removed
Exit codes:
0: No unused strings found1: Unused strings detected (normal for reporting)
Shell Scripts
BuildMaterialDesignIconsFont.sh
Builds the Material Design Icons font file from the icon definitions.
Stencil Templates
icons.stencil
SwiftGen template for generating Swift code from Material Design Icons JSON data.