Created
August 29, 2019 14:58
-
-
Save MrSkwiggs/e5b28fea20ca47fbbb97242ac4949a23 to your computer and use it in GitHub Desktop.
A shell script build phase to add to your projects for automatic localization manager generation!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -f "LocalizationManagerGenerator.swift" ] | |
then | |
if [ "$CONFIGURATION" = "Debug" ] | |
then | |
echo "Running LocalizationManagerGenerator script" | |
./LocalizationManagerGenerator.swift <your project> <output directory> | |
fi | |
else | |
echo "warning: Cannot automatically generate LocalizationManagers, script not found" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment