-
Notifications
You must be signed in to change notification settings - Fork 7.7k
/
Copy pathcodelab_rebuild.yaml
29 lines (29 loc) · 1.03 KB
/
codelab_rebuild.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild
name: Platform Design rebuild script
steps:
- name: Remove runner
rmdirs:
- android
- ios
- web
- name: Flutter recreate runner
flutter: create --platform android,ios,web --org dev.flutter .
- name: Patch web/manifest.json
path: web/manifest.json
patch-u: |
--- b/platform_design/web/manifest.json
+++ a/platform_design/web/manifest.json
@@ -5,7 +5,7 @@
"display": "standalone",
"background_color": "#0175C2",
"theme_color": "#0175C2",
- "description": "A new Flutter project.",
+ "description": "A project showcasing a Flutter app following different platform IA conventions.",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [
- name: Update dependencies
flutter: pub upgrade --major-versions
- name: Build for iOS
platforms: [ macos ]
flutter: build ios --simulator