From fbd929496d86d7d49809ec61cf38e18fc0bc9b65 Mon Sep 17 00:00:00 2001 From: Brett Morgan Date: Fri, 6 Jun 2025 18:33:54 +1000 Subject: [PATCH] `audio_soloud`: Simplify rebuild script --- audio_soloud/codelab_rebuild.yaml | 26 +++++++------------------- audio_soloud/step_02/pubspec.yaml | 5 ++--- audio_soloud/step_03/pubspec.yaml | 5 ++--- audio_soloud/step_04a/pubspec.yaml | 5 ++--- audio_soloud/step_04b/pubspec.yaml | 5 ++--- audio_soloud/step_05/pubspec.yaml | 5 ++--- audio_soloud/step_06/pubspec.yaml | 5 ++--- 7 files changed, 19 insertions(+), 37 deletions(-) diff --git a/audio_soloud/codelab_rebuild.yaml b/audio_soloud/codelab_rebuild.yaml index 1f1879c5e3..0d10787525 100644 --- a/audio_soloud/codelab_rebuild.yaml +++ b/audio_soloud/codelab_rebuild.yaml @@ -9,22 +9,15 @@ steps: - name: Strip DEVELOPMENT_TEAM strip-lines-containing: DEVELOPMENT_TEAM = path: audio_soloud/ios/Runner.xcodeproj/project.pbxproj - - name: Add dependencies and assets to pubspec.yaml + - name: Add dependencies + path: audio_soloud + flutter: pub add flutter_soloud logging + - name: Add assets to pubspec.yaml path: audio_soloud/pubspec.yaml patch-u: | - --- a/pubspec.yaml - +++ b/pubspec.yaml - @@ -10,6 +10,9 @@ dependencies: - flutter: - sdk: flutter - - + flutter_soloud: ^2.1.6 - + logging: ^1.2.0 - + - dev_dependencies: - flutter_test: - sdk: flutter - @@ -17,3 +20,7 @@ dev_dependencies: + --- b/audio_soloud/step_02/pubspec.yaml + +++ a/audio_soloud/step_02/pubspec.yaml + @@ -19,3 +19,7 @@ dev_dependencies: flutter: uses-material-design: true @@ -32,11 +25,6 @@ steps: + assets: + - assets/music/ + - assets/sounds/ - - - name: Update dependencies - path: audio_soloud - flutter: pub upgrade --major-versions - - name: Update iOS deployment target path: audio_soloud/ios/Podfile patch-u: | diff --git a/audio_soloud/step_02/pubspec.yaml b/audio_soloud/step_02/pubspec.yaml index 6ac201165c..95e9054125 100644 --- a/audio_soloud/step_02/pubspec.yaml +++ b/audio_soloud/step_02/pubspec.yaml @@ -4,14 +4,13 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: sdk: flutter - flutter_soloud: ^3.1.10 - logging: ^1.2.0 + logging: ^1.3.0 dev_dependencies: flutter_test: diff --git a/audio_soloud/step_03/pubspec.yaml b/audio_soloud/step_03/pubspec.yaml index 6ac201165c..95e9054125 100644 --- a/audio_soloud/step_03/pubspec.yaml +++ b/audio_soloud/step_03/pubspec.yaml @@ -4,14 +4,13 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: sdk: flutter - flutter_soloud: ^3.1.10 - logging: ^1.2.0 + logging: ^1.3.0 dev_dependencies: flutter_test: diff --git a/audio_soloud/step_04a/pubspec.yaml b/audio_soloud/step_04a/pubspec.yaml index 6ac201165c..95e9054125 100644 --- a/audio_soloud/step_04a/pubspec.yaml +++ b/audio_soloud/step_04a/pubspec.yaml @@ -4,14 +4,13 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: sdk: flutter - flutter_soloud: ^3.1.10 - logging: ^1.2.0 + logging: ^1.3.0 dev_dependencies: flutter_test: diff --git a/audio_soloud/step_04b/pubspec.yaml b/audio_soloud/step_04b/pubspec.yaml index 6ac201165c..95e9054125 100644 --- a/audio_soloud/step_04b/pubspec.yaml +++ b/audio_soloud/step_04b/pubspec.yaml @@ -4,14 +4,13 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: sdk: flutter - flutter_soloud: ^3.1.10 - logging: ^1.2.0 + logging: ^1.3.0 dev_dependencies: flutter_test: diff --git a/audio_soloud/step_05/pubspec.yaml b/audio_soloud/step_05/pubspec.yaml index 6ac201165c..95e9054125 100644 --- a/audio_soloud/step_05/pubspec.yaml +++ b/audio_soloud/step_05/pubspec.yaml @@ -4,14 +4,13 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: sdk: flutter - flutter_soloud: ^3.1.10 - logging: ^1.2.0 + logging: ^1.3.0 dev_dependencies: flutter_test: diff --git a/audio_soloud/step_06/pubspec.yaml b/audio_soloud/step_06/pubspec.yaml index 6ac201165c..95e9054125 100644 --- a/audio_soloud/step_06/pubspec.yaml +++ b/audio_soloud/step_06/pubspec.yaml @@ -4,14 +4,13 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.8.0 + sdk: ^3.8.1 dependencies: flutter: sdk: flutter - flutter_soloud: ^3.1.10 - logging: ^1.2.0 + logging: ^1.3.0 dev_dependencies: flutter_test: