mirror of
https://github.com/flutter/samples.git
synced 2026-04-07 04:02:13 +00:00
null_safety rebuild script (#1369)
This commit is contained in:
49
null_safety/codelab_rebuild.yaml
Normal file
49
null_safety/codelab_rebuild.yaml
Normal file
@@ -0,0 +1,49 @@
|
||||
# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild
|
||||
name: Null Safety rebuild script
|
||||
steps:
|
||||
- name: null_safe_app
|
||||
steps:
|
||||
- name: Remove runners
|
||||
path: null_safe_app
|
||||
rmdirs:
|
||||
- android
|
||||
- ios
|
||||
- linux
|
||||
- macos
|
||||
- web
|
||||
- windows
|
||||
- name: Rebuild Runners
|
||||
path: null_safe_app
|
||||
flutter: create .
|
||||
- name: Update deps
|
||||
path: null_safe_app
|
||||
flutter: pub upgrade --major-versions
|
||||
- name: Build for macOS
|
||||
path: null_safe_app
|
||||
flutter: build macos
|
||||
- name: Build for iOS
|
||||
path: null_safe_app
|
||||
flutter: build ios --simulator
|
||||
- name: null_unsafe_app
|
||||
steps:
|
||||
- name: Remove runners
|
||||
path: null_unsafe_app
|
||||
rmdirs:
|
||||
- android
|
||||
- ios
|
||||
- linux
|
||||
- macos
|
||||
- web
|
||||
- windows
|
||||
- name: Rebuild Runners
|
||||
path: null_unsafe_app
|
||||
flutter: create .
|
||||
- name: Update deps
|
||||
path: null_unsafe_app
|
||||
flutter: pub upgrade --major-versions
|
||||
- name: Build for macOS
|
||||
path: null_unsafe_app
|
||||
flutter: build macos
|
||||
- name: Build for iOS
|
||||
path: null_unsafe_app
|
||||
flutter: build ios --simulator
|
||||
Reference in New Issue
Block a user