Skip to content

Commit

Permalink
Add slang generation
Browse files Browse the repository at this point in the history
  • Loading branch information
WezSieTato committed Jan 2, 2025
1 parent c76fe13 commit 56d2c94
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- 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
1 change: 1 addition & 0 deletions .github/workflows/build_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ jobs:
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
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
channel: 'stable'
- run: flutter pub get
- run: dart run build_runner build
- run: dart run slang
- run: flutter analyze
- run: flutter test
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ Currently available on Play store and [pola-app.pl](https://www.pola-app.pl/)

# Uruchomienie

Część plików jest generowana, dlatego przed pierwszym uruchomieniem aplikacji czy też po zmianie brancha warto uruchomić build_runnera:
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:
Expand Down

0 comments on commit 56d2c94

Please sign in to comment.