Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build system update #114

Merged
merged 9 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions .github/workflows/flutter_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,22 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Flutter
- name: Install flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true

- name: Configure flutter
run: flutter config --no-cli-animations --no-analytics >/dev/null

- name: Install doit
uses: awalsh128/cache-apt-pkgs-action@v1.4.2
with:
packages: python3-doit

- name: Run analyzer
run: doit analyze
- name: Run dart analyzer
run: doit lint:dart

- name: Run tests
run: doit test
Expand All @@ -58,16 +61,31 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Flutter
- name: Install JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin

- name: Install flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true

- name: Configure flutter
run: flutter config --no-cli-animations --no-analytics >/dev/null

- name: Install doit
uses: awalsh128/cache-apt-pkgs-action@v1.4.2
with:
packages: python3-doit

- name: Run dart analyzer
run: doit lint:dart

- name: Run spotless linter
run: doit lint:kotlin

- name: Build apk
run: doit build:apk
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ app.*.map.json

# doit related
.doit.db*
/dist
1 change: 0 additions & 1 deletion _temp_storage/app/.gitignore

This file was deleted.

133 changes: 0 additions & 133 deletions _temp_storage/app/build.gradle

This file was deleted.

4 changes: 0 additions & 4 deletions _temp_storage/app/gradle.properties

This file was deleted.

44 changes: 0 additions & 44 deletions _temp_storage/build.gradle

This file was deleted.

21 changes: 0 additions & 21 deletions _temp_storage/gradle.properties

This file was deleted.

Binary file removed _temp_storage/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions _temp_storage/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

2 changes: 0 additions & 2 deletions _temp_storage/settings.gradle

This file was deleted.

4 changes: 1 addition & 3 deletions android/.gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
/build
GeneratedPluginRegistrant.java

# Remember to never publicly share your keystore.
Expand Down
Loading