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

Wyniesienie generowanych plików z repozytorium #154

Open
wants to merge 5 commits into
base: feature/redesing
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions .github/workflows/build_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
cache: true # Speed up the process
- name: Get dependencies
run: flutter pub get
- run: dart run build_runner build
- run: dart run slang
- name: Create googleservices file
run: cat /home/runner/work/pola-flutter/pola-flutter/android/app/google-services.json | base64
- name: Putting secret data
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ jobs:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('ios/Podfile.lock') }}
restore-keys: ${{ runner.os }}-pods-
- run: dart run build_runner build
- run: dart run slang
- run: bundle exec flutter build ios --no-codesign
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ jobs:
with:
channel: 'stable'
- run: flutter pub get
- run: dart run build_runner build
- run: dart run slang
- run: flutter analyze
- run: flutter test
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -874,3 +874,9 @@ FodyWeavers.xsd
*.properties

# End of https://www.toptal.com/developers/gitignore/api/dart,flutter,android,xcode,androidstudio,intellij,visualstudio

# Generated files with `dart run build_runner build`
*.g.dart
*.chopper.dart
*.freezed.dart
*.gen.dart
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,18 @@ Currently available on Play store and [pola-app.pl](https://www.pola-app.pl/)

# Uruchomienie

TODO
Część plików jest generowana, dlatego przed pierwszym uruchomieniem aplikacji czy też po zmianie brancha warto uruchomić build_runnera i [slanga](https://github.com/slang-i18n/slang):

```bash
dart run build_runner build
dart run slang
```

W trakcie prac nad plikami, które powodują konieczność ponownego uruchomienia build_runnera warto użyc:

```bash
dart run build_runner watch
```

# Screenshoty

Expand Down
59 changes: 0 additions & 59 deletions lib/analytics/analytics_parameters.g.dart

This file was deleted.

38 changes: 0 additions & 38 deletions lib/data/pola_api_service.chopper.dart

This file was deleted.

Loading
Loading