Skip to content

Commit

Permalink
Merge pull request #101 from HoLuLuLu/Update-flutter-sdk
Browse files Browse the repository at this point in the history
Use fvm and update flutter sdk
  • Loading branch information
hughesjs authored Oct 4, 2024
2 parents 61927a0 + 11fd638 commit c2bac67
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 597 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.5'
flutter-version: '3.24.3'
channel: 'stable'
- name: Run Flutter Test
working-directory: ./src
Expand All @@ -35,7 +35,7 @@ jobs:
java-version: '17'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.5'
flutter-version: '3.24.3'
channel: 'stable'
- name: Run Flutter Build
working-directory: ./src
Expand All @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.5'
flutter-version: '3.24.3'
channel: 'stable'
- name: Run Flutter Build
working-directory: ./src
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,16 @@ This project aims to reverse engineer the bluetooth protocol used by these tread
- Add support for arbitrary devices conforming to the BLE Fitness Machine Profile Specification.
- Add a backend to store verified working devices
- Add non-fitness machine workouts (weights etc)
- Add a GenAI powered trainer
- Add a GenAI powered trainer

# Build the project

## Prerequisites

- Flutter (see [official installation guide](https://docs.flutter.dev/get-started/install))
- Flutter Version Manager (see [FVM installation guide](https://fvm.app/documentation/getting-started/installation))
- IDE, like Android Studio/VS Code (optional)

## Build and Run

You can build and run this project like other flutter projects. For more information see the [documentation](https://docs.flutter.dev/get-started/test-drive).
3 changes: 3 additions & 0 deletions src/.fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "3.24.3"
}
5 changes: 4 additions & 1 deletion src/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,7 @@ app.*.symbols
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
!/dev/ci/**/Gemfile.lock
!.vscode/settings.json
!.vscode/settings.json

# FVM Version Cache
.fvm/
13 changes: 7 additions & 6 deletions src/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"dart.lineLength": 140,
"[dart]": {
"dart.lineLength": 140,
"[dart]": {
"editor.rulers": [
140
],
},
"cmake.configureOnOpen": false
140
]
},
"cmake.configureOnOpen": false,
"dart.flutterSdkPath": ".fvm/versions/3.24.3"
}
Loading

0 comments on commit c2bac67

Please sign in to comment.