d4t_formulas/CLAUDE.md
2026-02-11 08:45:56 +01:00

22 lines
1.2 KiB
Markdown

# Tools available
- This is a flutter app.
- Flutter and Dart are not installed locally. They are executed via a flutter wrapper script, like gradlew (gradle wrapper) for gradle.
- Flutter and Dart are installed in a podman container. This container is invoked via `./flutterw` bash script.
- `./flutterw --build-container` to build the image and the container with flutter tools
- `./flutterw --exec <args>` to execute bash commands inside the container
- `./flutterw <args>` is a shorthand for `./flutter --exec flutter <args>`, so `./flutterw` and `flutter` are somewhat equivalent.
- Examples:
- `flutter pub get` --> `./flutterw pub get`
- `flutter run -d linux` --> `./flutterw run -d linux`
- See `./Makefile` for more examples.
# MANDATORY WORKFLOW
1. Only one TODO.md feature at a time
2. Create a git branch for each new feature
3. After making any change
- Allways pass all the tests and integration tests
- Build the application for linux and web-server
- Launch the apllication for web-server, with a timeout of 60s
4. If any test or build or web-server launch fails, go to step 3
5. Dont merge the feature branch into master, the work will be reviewed by a human.