2021-11-04 16:43:12 +08:00
|
|
|
|
|
|
|
[tasks.flowy-macos-ui]
|
|
|
|
script = [
|
|
|
|
"""
|
|
|
|
flutter clean
|
|
|
|
flutter pub get
|
|
|
|
flutter build macos --release
|
|
|
|
flowy-sdk-release
|
|
|
|
""",
|
|
|
|
]
|
|
|
|
script_runner = "@shell"
|
|
|
|
|
2021-06-19 23:41:19 +08:00
|
|
|
[tasks.freeze_setup]
|
|
|
|
script = [
|
|
|
|
"""
|
|
|
|
flutter clean
|
|
|
|
flutter pub get
|
|
|
|
flutter pub run build_runner build --delete-conflicting-outputs
|
|
|
|
""",
|
|
|
|
]
|
|
|
|
script_runner = "@shell"
|
|
|
|
|
|
|
|
[tasks.freeze_watch]
|
|
|
|
script = [
|
|
|
|
"""
|
|
|
|
flutter pub run build_runner watch
|
|
|
|
""",
|
|
|
|
]
|
|
|
|
script_runner = "@shell"
|
|
|
|
|
|
|
|
[tasks.add_platform]
|
|
|
|
description = "Add platform support"
|
|
|
|
script = ["""
|
|
|
|
flutter create --template=plugin --platforms=${@} .
|
|
|
|
"""]
|
|
|
|
script_runner = "@shell"
|
|
|
|
|