just: collect variables at top of script

This commit is contained in:
bronsen 2026-02-19 21:14:19 +01:00
parent 86ef698219
commit dc9b31a5a2

View file

@ -1,3 +1,6 @@
the_app := "teilchensammler_cli.main"
uv_export_options := "--frozen --format requirements.txt --quiet --no-install-project"
[private]
default:
@just --list
@ -15,7 +18,6 @@ build:
console:
uv run textual console
the_app := "teilchensammler_cli.main"
# run app with logs going to console
run-console:
@ -25,7 +27,6 @@ run-console:
run:
uv run python -m {{ the_app }}
uv_export_options := "--frozen --format requirements.txt --quiet --no-install-project"
# export dependencies into requirements files
exports-deps:
uv export {{ uv_export_options }} --output-file requirements.txt