AppFlowy/scripts/makefile/flutter.toml
2021-11-04 16:43:12 +08:00

37 lines
604 B
TOML

[tasks.flowy-macos-ui]
script = [
"""
flutter clean
flutter pub get
flutter build macos --release
flowy-sdk-release
""",
]
script_runner = "@shell"
[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"