mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 07:07:32 -04:00
fixed cargo make to work on Windows
This commit is contained in:
parent
554cfb53e5
commit
584af6aa71
1 changed files with 19 additions and 5 deletions
|
@ -175,14 +175,28 @@ script = [
|
||||||
script_runner = "@shell"
|
script_runner = "@shell"
|
||||||
|
|
||||||
[tasks.generate_language_files]
|
[tasks.generate_language_files]
|
||||||
|
script_runner = "@shell"
|
||||||
script = [
|
script = [
|
||||||
"""
|
'''
|
||||||
cd app_flowy/
|
cd app_flowy
|
||||||
flutter clean
|
flutter clean
|
||||||
flutter pub get
|
flutter pub get
|
||||||
flutter pub run easy_localization:generate -S assets/translations/
|
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
|
flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations
|
||||||
""",
|
'''
|
||||||
]
|
]
|
||||||
script_runner = "@shell"
|
|
||||||
|
|
||||||
|
[tasks.generate_language_files.windows]
|
||||||
|
script_runner = "@duckscript"
|
||||||
|
script = [
|
||||||
|
'''
|
||||||
|
cd app_flowy
|
||||||
|
exec cmd.exe /c flutter clean
|
||||||
|
exec cmd.exe /c flutter pub get
|
||||||
|
exec cmd.exe /c flutter pub run easy_localization:generate -S assets/translations/
|
||||||
|
exec cmd.exe /c flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations
|
||||||
|
'''
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue