[flutter]: enable windows platform

This commit is contained in:
appflowy
2021-11-04 16:43:12 +08:00
parent 64fdee588e
commit 9e0033f4ed
32 changed files with 1035 additions and 10 deletions

View File

@ -1,16 +1,15 @@
# cargo make --profile production task
[tasks.desktop]
[tasks.flowy-sdk]
category = "Build"
condition = { profiles = [ "development-mac" ], channels = ["nightly"] }
run_task = { name = ["setup-crate-type","desktop-build", "post-desktop", "restore-crate-type"] }
run_task = { name = ["setup-crate-type","sdk_build", "post-desktop", "restore-crate-type"] }
[tasks.desktop-release]
[tasks.flowy-sdk-release]
condition = { channels = ["nightly"] }
run_task = "desktop-build"
run_task = "sdk_build"
[tasks.desktop-build]
category = "Build"
[tasks.sdk_build]
condition = { platforms = ["mac"], env_true = ["DEV"] }
description = "Build desktop targets."
script = [

View File

@ -1,3 +1,15 @@
[tasks.flowy-macos-ui]
script = [
"""
flutter clean
flutter pub get
flutter build macos --release
flowy-sdk-release
""",
]
script_runner = "@shell"
[tasks.freeze_setup]
script = [
"""