File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
frontend/scripts/makefile Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -175,14 +175,28 @@ script = [
175175script_runner = " @shell"
176176
177177[tasks .generate_language_files ]
178+ script_runner = " @shell"
178179script = [
179- """
180- cd app_flowy/
180+ '''
181+ cd app_flowy
181182 flutter clean
182183 flutter pub get
183184 flutter pub run easy_localization:generate -S assets/translations/
184- flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations
185- """ ,
185+ flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations
186+ '''
186187]
187- script_runner = " @shell"
188+
189+
190+ [tasks .generate_language_files .windows ]
191+ script_runner = " @duckscript"
192+ script = [
193+ '''
194+ cd app_flowy
195+ exec cmd.exe /c flutter clean
196+ exec cmd.exe /c flutter pub get
197+ exec cmd.exe /c flutter pub run easy_localization:generate -S assets/translations/
198+ exec cmd.exe /c flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations
199+ '''
200+ ]
201+
188202
You can’t perform that action at this time.
0 commit comments