Skip to content

Commit e6c5131

Browse files
committed
improve
1 parent 7acaddc commit e6c5131

2 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/all-builds.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,8 @@ jobs:
8282
clang ninja-build libgtk-3-dev libasound2-dev libmpv-dev mpv \
8383
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev \
8484
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly \
85-
gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl \
86-
gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio \
87-
pkg-config libsecret-1-0 libsecret-1-dev
85+
gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 \
86+
gstreamer1.0-qt5 gstreamer1.0-pulseaudio pkg-config libsecret-1-0 libsecret-1-dev
8887
sudo apt-get clean
8988
9089

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@ Feel free to reuse them and customize to your specific usecases and needs.
88

99
## What is in this repo
1010

11-
## What is in this repo
12-
13-
| File | Purpose |
14-
|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
15-
| [`.github/workflows/all-builds.yml`](.github/workflows/all-builds.yml) | Builds for Linux, macOS, Windows, AAB, APK, IPA, and Web.<br>More details [here](https://docs.flet.dev/publish/#github-actions). |
16-
| [`.github/workflows/web-build-and-github-pages-deploy.yml`](.github/workflows/web-build-and-github-pages-deploy.yml) | Builds the web app and deploys it to GitHub Pages.<br><br>Uses:<br>• `--base-url ${GITHUB_REPOSITORY#*/}` (repository name as base URL)<br>• `--route-url-strategy hash` (recommended for static hosts like GitHub Pages) |
17-
| [`pyproject.toml`](pyproject.toml) | Example Flet project configuration |
18-
| [`src/main.py`](src/main.py) | Example Flet app to test the workflows |
11+
| File | Purpose |
12+
|----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
13+
| [`.github/workflows/all-builds.yml`](.github/workflows/all-builds.yml) | Builds for Linux, macOS, Windows, AAB, APK, IPA, and Web.<br>More details [here](https://docs.flet.dev/publish/#github-actions). |
14+
| [`.github/workflows/web-build-and-github-pages-deploy.yml`](.github/workflows/web-build-and-github-pages-deploy.yml) | Builds the web app and deploys it to GitHub Pages.<br>Uses:<br>• `--base-url ${GITHUB_REPOSITORY#*/}` - repository name as base URL<br>• `--route-url-strategy hash` - recommended for static hosts like GitHub Pages |
15+
| [`pyproject.toml`](pyproject.toml) | Example Flet project configuration |
16+
| [`src/main.py`](src/main.py) | Example Flet app to test the workflows |
1917

2018

2119
**Quick start:**
@@ -31,13 +29,12 @@ Feel free to reuse them and customize to your specific usecases and needs.
3129
- `UV_PYTHON` - the Python version to use
3230
- [`FLET_CLI_NO_RICH_OUTPUT`](https://docs.flet.dev/reference/environment-variables/#flet_cli_skip_flutter_doctor) - disables console rich output
3331
- [`PYTHONUTF8`](https://docs.python.org/3/using/cmdline.html#envvar-PYTHONUTF8) - enables UTF-8 encoding for Python. Useful in Windows builds.
34-
- Build commands: customize `flet build ...` flags to match your app requirements.
32+
- Build commands: customize `flet build ...` flags to match your app requirements. Or define them in the [`pyproject.toml`](https://docs.flet.dev/publish).
3533

3634
## Notes
3735

3836
- The workflows run with `--verbose` to make `flet build` troubleshooting easier.
3937
- Linux desktop builds need extra system packages, already handled in `all-builds.yml`.
40-
- You can define app metadata (like `BUILD_NUMBER` and `BUILD_VERSION`) in the `pyproject.toml` if preferred. ([docs](https://docs.flet.dev/publish/#versioning))
4138

4239
## Resources
4340

0 commit comments

Comments
 (0)