AppFlowy/frontend/scripts/generate_language_files.sh
Mike Wallace bda6840523
Remove generated files (#202)
* deleted generated directory from file system

* Removed generated language files from source control
Files are now generated when building the app or by launching "Generate Language Files"

added /lib/generated/ to git .ignore
added a task to generate language files
call task from build script

* added pub get to workflow
2021-12-25 20:23:02 -05:00

7 lines
239 B
Bash

#!/bin/sh
#!/usr/bin/env fish
echo 'Generating language files'
cd app_flowy
flutter pub run easy_localization:generate -S assets/translations/
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations