just: collect variables at top of script
This commit is contained in:
parent
86ef698219
commit
dc9b31a5a2
1 changed files with 3 additions and 2 deletions
5
justfile
5
justfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue