flutter.toml 604 B

12345678910111213141516171819202122232425262728293031323334353637
  1. [tasks.flowy-macos-ui]
  2. script = [
  3. """
  4. flutter clean
  5. flutter pub get
  6. flutter build macos --release
  7. flowy-sdk-release
  8. """,
  9. ]
  10. script_runner = "@shell"
  11. [tasks.freeze_setup]
  12. script = [
  13. """
  14. flutter clean
  15. flutter pub get
  16. flutter pub run build_runner build --delete-conflicting-outputs
  17. """,
  18. ]
  19. script_runner = "@shell"
  20. [tasks.freeze_watch]
  21. script = [
  22. """
  23. flutter pub run build_runner watch
  24. """,
  25. ]
  26. script_runner = "@shell"
  27. [tasks.add_platform]
  28. description = "Add platform support"
  29. script = ["""
  30. flutter create --template=plugin --platforms=${@} .
  31. """]
  32. script_runner = "@shell"