mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* *List which issues are fixed by this PR. For larger changes, raising an issue first helps reduce redundant work.* ## Pre-launch Checklist - [ ] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [ ] I signed the [CLA]. - [ ] I read the [Contributors Guide]. - [ ] I updated/added relevant documentation (doc comments with `///`). - [ ] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/wiki/Chat [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
# 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
|