just: add new recipes: dealing with deps and pretending we are on CI

This commit is contained in:
bronsen 2026-02-14 23:17:36 +01:00
parent d617f71682
commit 864d113a7a

View file

@ -9,6 +9,7 @@ console:
uv run textual console uv run textual console
the_app := "teilchensammler_cli.main" the_app := "teilchensammler_cli.main"
# run app with logs going to console # run app with logs going to console
run-dev: run-dev:
uv run textual run --dev {{ the_app }} uv run textual run --dev {{ the_app }}
@ -21,6 +22,12 @@ exports-deps:
uv export {{ uv_export_options }} --output-file requirements.txt uv export {{ uv_export_options }} --output-file requirements.txt
uv export {{ uv_export_options }} --output-file requirements.dev.txt --only-dev uv export {{ uv_export_options }} --output-file requirements.dev.txt --only-dev
install-deps: setup
update-deps:
uv lock --upgrade
uv sync
test *ARGS: test *ARGS:
uv run pytest tests.py {{ ARGS }} uv run pytest tests.py {{ ARGS }}
@ -39,5 +46,6 @@ lint: lint-python lint-markdown
clean: clean:
rm dist/*.whl dist/*.tar.gz rm dist/*.whl dist/*.tar.gz
# ci: ci:
prek run --all-files
# woodpecker-cli exec "whatever" # woodpecker-cli exec "whatever"