2026-01-09 08:28:28 +00:00
|
|
|
|
2026-01-09 12:57:44 +00:00
|
|
|
flutter-container-exec = podman-compose run --entrypoint "$(1)" flutter
|
|
|
|
|
|
2026-01-10 12:59:55 +00:00
|
|
|
all: clean-podman build-linux-debug-podman build-linux-debug-podman
|
|
|
|
|
|
2026-01-09 08:28:28 +00:00
|
|
|
build-podman:
|
|
|
|
|
podman-compose build
|
|
|
|
|
|
|
|
|
|
clean-podman: build-podman
|
2026-01-09 12:57:44 +00:00
|
|
|
$(call flutter-container-exec, flutter clean)
|
2026-01-09 08:28:28 +00:00
|
|
|
|
2026-01-09 12:57:44 +00:00
|
|
|
pub-get-podman: build-podman
|
|
|
|
|
$(call flutter-container-exec, flutter pub get)
|
2026-01-09 08:28:28 +00:00
|
|
|
|
2026-01-09 12:57:44 +00:00
|
|
|
build-android-release-podman: pub-get-podman
|
|
|
|
|
$(call flutter-container-exec, flutter build apk --release)
|
2026-01-09 08:28:28 +00:00
|
|
|
|
2026-01-09 12:57:44 +00:00
|
|
|
build-linux-debug-podman: pub-get-podman
|
|
|
|
|
$(call flutter-container-exec, flutter build linux --debug)
|
2026-01-09 08:28:28 +00:00
|
|
|
|
|
|
|
|
run-linux-debug: build-linux-debug-podman
|
|
|
|
|
build/linux/x64/debug/bundle/d4rt_formulas
|
|
|
|
|
|
|
|
|
|
run-web-release-podman: build-web-release-podman
|
2026-01-09 10:45:11 +00:00
|
|
|
cd build/web && python3 -m http.server 8080
|