just: add new recipes: dealing with deps and pretending we are on CI
This commit is contained in:
parent
d617f71682
commit
864d113a7a
1 changed files with 9 additions and 1 deletions
10
justfile
10
justfile
|
|
@ -9,6 +9,7 @@ console:
|
|||
uv run textual console
|
||||
|
||||
the_app := "teilchensammler_cli.main"
|
||||
|
||||
# run app with logs going to console
|
||||
run-dev:
|
||||
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.dev.txt --only-dev
|
||||
|
||||
install-deps: setup
|
||||
|
||||
update-deps:
|
||||
uv lock --upgrade
|
||||
uv sync
|
||||
|
||||
test *ARGS:
|
||||
uv run pytest tests.py {{ ARGS }}
|
||||
|
||||
|
|
@ -39,5 +46,6 @@ lint: lint-python lint-markdown
|
|||
clean:
|
||||
rm dist/*.whl dist/*.tar.gz
|
||||
|
||||
# ci:
|
||||
ci:
|
||||
prek run --all-files
|
||||
# woodpecker-cli exec "whatever"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue