You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild
|
|
|
|
name: JSON Example rebuild script
|
|
|
|
steps:
|
|
|
|
- name: Remove runners
|
|
|
|
rmdirs:
|
|
|
|
- android
|
|
|
|
- ios
|
|
|
|
- macos
|
|
|
|
- linux
|
|
|
|
- windows
|
|
|
|
- web
|
|
|
|
- name: Recreate runners
|
|
|
|
flutter: create --org dev.flutter .
|
|
|
|
- name: Strip DEVELOPMENT_TEAM
|
|
|
|
strip-lines-containing: DEVELOPMENT_TEAM =
|
|
|
|
path: ios/Runner.xcodeproj/project.pbxproj
|
|
|
|
- name: Remove widget_test.dart
|
|
|
|
rm: test/widget_test.dart
|
|
|
|
- name: Update
|
|
|
|
path: web/manifest.json
|
|
|
|
patch-u: |
|
|
|
|
--- b/jsonexample/web/manifest.json
|
|
|
|
+++ a/jsonexample/web/manifest.json
|
|
|
|
@@ -5,7 +5,7 @@
|
|
|
|
"display": "standalone",
|
|
|
|
"background_color": "#0175C2",
|
|
|
|
"theme_color": "#0175C2",
|
|
|
|
- "description": "A new Flutter project.",
|
|
|
|
+ "description": "A demonstration of JSON parsing",
|
|
|
|
"orientation": "portrait-primary",
|
|
|
|
"prefer_related_applications": false,
|
|
|
|
"icons": [
|
|
|
|
|
|
|
|
- name: Flutter upgrade
|
|
|
|
flutter: pub upgrade --major-versions
|
|
|
|
- name: Flutter build macOS
|
|
|
|
flutter: build macos
|
|
|
|
- name: Flutter build macOS
|
|
|
|
flutter: build ios --simulator
|